Inconsistent query results

Hi,
I indexed data to elastic and when I query elastic multiple times I am getting the different response to the same query.

I came to know that it can be due to inconsistent replicas, so I used preference option to force primary replica for search but still the same results.

I used to index and query same data before and never experienced this before. I am using AWS Elasticsearch service.

Data is queried let's say one day after the ingestion (To nullify eventual consistency assumption).

Thanks
Mukrram Ur Rahman

Hey,

can you be more exact what inconsistent means, can you show how your search request (including the preference option) looks like? Is new data being indexed while this is happening or not? Does this happen when you tried only with a single shard index?

--Alex

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.