Missing documents while updating them

In pretty straigtforward scenario I am missing documents.

  1. Check if document exists
  2. 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?

How could I discover where is a problem?

ty

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

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)?

Also include information like your elasticsearch and jvm versions, see
Elasticsearch Platform — Find real-time answers at scale | Elastic as an example

Thanks a lot!

--Alex

On Thu, Oct 31, 2013 at 6:30 PM, Petr Yanovich
pedro.yanoviches@gmail.comwrote:

In pretty straigtforward scenario I am missing documents.

  1. Check if document exists
  2. 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?

How could I discover where is a problem?

ty

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.