I'm currently running three separate processes that are indexing data
into ElasticSearch (0.18.6). The majority of these index operations
are inserts, but there are occasional re-index operations for existing
documents as well. We're currently encountering version conflict
exceptions when executing some of these index operations.
The index operations are using a timestamp as a version number and
setting version type to external. The exceptions seem to indicate that
the existing version number is the same as the new version number.
Given that we're using System.currentTimeMillis() to generate the
version, this seems unlikely.
Index code: https://gist.github.com/2258576
Any thoughts on what might be going wrong?