I am learning to use Python API to query Elasticsearch. I was trying to run some queries in Kibana, I copied the same json request from the json blob of Kibana and used the same to query using python. Both results were different. I had 65 hits shown in Kibana whereas I had 1145 results when I queried using python API.
It was a problem with cached results. Kibana was somehow returning cached results again and again. It changed once I closed the browser and reran the query again opening a new instance of the browser.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.