I have a elasticsearch index which i update every 10 minutes via cronjob. In this index i have a completion field which works as expected. But i have one little problem. Lets say i have a "article" field where i change a value from "a" to "b". After 10 minutes the index is been updated and the document which holds article "a" is been updated to article "b". Everything as expected. But my completion field now holds both values. "a" and "b" both with the same id.
How can this happen?
Found the answer in the docs.