I've noticed different behavior when bulk indexing using a custom
document id versus not defining a document id. By not defining an id,
I get the desire behavior which is all documents are indexed. If I
attempt to define an id, only one document gets indexed as opposed to
all the documents defined in a bulk iteration.
How do you properly index all documents in a bulk request while
defining a custom document id?
I've noticed different behavior when bulk indexing using a custom
document id versus not defining a document id. By not defining an id,
I get the desire behavior which is all documents are indexed. If I
attempt to define an id, only one document gets indexed as opposed to
all the documents defined in a bulk iteration.
Thanks for the reply. I see no exceptions or errors in the logs. One
other thing I noticed is that the counts (in elasticsearch-head) are
something like:
I've noticed different behavior when bulk indexing using a custom
document id versus not defining a document id. By not defining an id,
I get the desire behavior which is all documents are indexed. If I
attempt to define an id, only one document gets indexed as opposed to
all the documents defined in a bulk iteration.
On Mon, 2011-10-24 at 16:01 -0700, Shane Witbeck wrote:
Thanks for the reply. I see no exceptions or errors in the logs. One
other thing I noticed is that the counts (in elasticsearch-head) are
something like:
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.