How can I check that GraphQL is executing query to elasticsearch instead of mysql database ?

Hi all,

 

I am completely new to Magento world. That is great platform. I’m using magento latest version 2.4.2.

 

My question is how can I verify that the GraphQL query-ing into elasticsearch, not database?

 

The reason is I am building headless ecommerce with Magento so I need to make sure that the query should be fast in searching, and elasticsearch is perfect for that.

 

I can verify (using chrome tool) that the data already got index into elasticsearch when create an new Product from Admin UI. That is ‘write’ data into elasticsearch. But cannot (or I don’t know yet) verify ‘read’ data from elasticsearch.

 

I really appreciate any help.

 

Thanks.


Go to Source of this post
Author Of this post: thi_duong
Title Of post: How can I check that GraphQL is executing query to elasticsearch instead of mysql database ?
Author Link: {authorlink}