In pretty straigtforward scenario I am missing documents.
Check if document exists
If it is not: upsert new one or update some data (increment counter for
example)
I don't delete any documents. Only upsert and update them.
But sometimes ES answers that document doesn't exists and upsert command
inserts new document. While some time ago it had already created one.
So sometimes all my "counters" for some documents drops down. Maybe while
document is updating it doesnt "exists"? So two sequential updates makes me
cry?
I did not really understand your problem. Is there any chance you can
recreate the problem using curl and put it all into a gist, so we could
check, where the problem is (and reproduce it locally in case it is a bug)?
In pretty straigtforward scenario I am missing documents.
Check if document exists
If it is not: upsert new one or update some data (increment counter for
example)
I don't delete any documents. Only upsert and update them.
But sometimes ES answers that document doesn't exists and upsert command
inserts new document. While some time ago it had already created one.
So sometimes all my "counters" for some documents drops down. Maybe while
document is updating it doesnt "exists"? So two sequential updates makes me
cry?
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.