'Solr documents get merged

Solr 6.6.6

I run Solr/Zookeper in docker containers. After I create cores, I add a document with default values, that should never change. It's my test environment, I start/stop container often.

Looks like sometimes (every few weeks) other document(s) from the same core get merged with the default one. uniqueKey is the same, but values of some other fields changes, and new dynamic fields are added.

I don't think it's some wrong update query, because _updated_at value of the document is not changed.

Is there some query that merges documents without touching _updated_at? Any know bug that could cause it?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source