Elastic Search: how to see the indexed data

后端 未结 8 1397
深忆病人
深忆病人 2020-12-22 19:02

I had a problem with ElasticSearch and Rails, where some data was not indexed properly because of attr_protected. Where does Elastic Search store the indexed data? It would

相关标签:
8条回答
  • 2020-12-22 19:28

    Absolutely the easiest way to see your indexed data is to view it in your browser. No downloads or installation needed.

    I'm going to assume your elasticsearch host is http://127.0.0.1:9200.

    Step 1

    Navigate to http://127.0.0.1:9200/_cat/indices?v to list your indices. You'll see something like this:

    Step 2

    Try accessing the desired index: http://127.0.0.1:9200/products_development_20160517164519304

    The output will look something like this:

    Notice the aliases, meaning we can as well access the index at: http://127.0.0.1:9200/products_development

    Step 3

    Navigate to http://127.0.0.1:9200/products_development/_search?pretty to see your data:

    0 讨论(0)
  • 2020-12-22 19:28

    ElasticSearch data browser

    Search, charts, one-click setup....

    0 讨论(0)
提交回复
热议问题