I have a test that indexes some data, does an aggregation + search to verify the results. Then my test changes 1 piece of data and re-indexes (everything). refresh() is called.
Then I do an aggregation + search again to verify my results. The search results are correct (ie updated to reflect the changed data). The aggregation results are not correct - they are the same as the first aggregation results - implying the data has not changed. The aggregation results go wrong at the result of a filter aggregation. The results of the filter aggregation give a count of 2 - the results of the search (equiv query or *same* filter) give 1. Suspecting a caching issue (e.g. filter caching) I then made sure I flushed the caches for that index. But sadly, the problem still persists. I am kinda running out of ideas. Can anyone suggest what to check next? -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/61140ef1-441f-477d-8129-d30588b6838b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
