I want to integrate Elastic search in Magento EE 2.1.2. I have installed elastic search instance and did configuration in Magento Admin. When I click on TEST CONNECTION button in Admin it says Successful! Test Again?

enter image description here

I want to know how Elasticsearch processes the search request. I want to check the search query on elascticsearch server.

When I hit my elastic search from browser I get this result:

name    "My First Node"
cluster_name    "mycluster1"
number  "2.3.1"
build_hash  "bd980929010aef404e7cb0843e61d0665269fc39"
build_timestamp "2016-04-04T12:25:05Z"
build_snapshot  false
lucene_version  "5.5.0"
tagline "You Know, for Search"
  • Hence you are using Magento EE 2.1.2 and it's licensed version so I think on one can give you the exact code, But sometimes ago I was on the same situation and I can say that you can get your starting point module-elasticsearch
    – Keyur Shah
    Aug 21, 2017 at 11:30

2 Answers 2


You can get details about your Elasticsearch indices through a GET request (curl for example, or straight from your browser). Assuming your port is set to the default 9200, you can do this to get your indices:


Here you will see a list of indices that Magento 2 is using, in our case it is named "magento2_product_1_v2".

You can they do a search query on this index to test if your data is present (the pretty param just means the output should be displayed in a readable format instead of raw JSON):


To view your entire index you can use:


More info here: https://www.elastic.co/guide/en/elasticsearch/reference/2.3/_exploring_your_cluster.html


You can check your elastic search reindex status here.

You can select structured query/ Any request tab and search your queries.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.