I try to use the a bulk operation to index data with the java api, but
allways get Excpetions; As it's not explained in guide I wanted to
kindly ask how it's done correctly.
I am missing the actual exception of the failed bulk execution. But, it seems like you are missing to set the type on the IndexRequest.
On Sunday, March 13, 2011 at 1:33 PM, K.B. wrote:
Hello,
I try to use the a bulk operation to index data with the java api, but
allways get Excpetions; As it's not explained in guide I wanted to
kindly ask how it's done correctly.
thank you very much! - it was indeed the missing .type(type)! Now as I
can use Bulk vs. indivial requests the time needed to index my 1400
big objects went down from 3.0s/ 2.0s (initial/ db-warmed-up) to only
1.599s/ 0.6 s (initial/ db-warmed-up) time for a complete drop and
reindex of all objects!
I am missing the actual exception of the failed bulk execution. But, it seems like you are missing to set the type on the IndexRequest.
On Sunday, March 13, 2011 at 1:33 PM, K.B. wrote:
Hello,
I try to use the a bulk operation to index data with the java api, but
allways get Excpetions; As it's not explained in guide I wanted to
kindly ask how it's done correctly.
On Monday, March 14, 2011 at 12:35 PM, K.B. wrote:
Hey Shay,
thank you very much! - it was indeed the missing .type(type)! Now as I
can use Bulk vs. indivial requests the time needed to index my 1400
big objects went down from 3.0s/ 2.0s (initial/ db-warmed-up) to only
1.599s/ 0.6 s (initial/ db-warmed-up) time for a complete drop and
reindex of all objects!
Its really cool to see how blazing fast this is
cool! :). Its usually gets faster as things warm up.
I am missing the actual exception of the failed bulk execution. But, it seems like you are missing to set the type on the IndexRequest.
On Sunday, March 13, 2011 at 1:33 PM, K.B. wrote:
Hello,
I try to use the a bulk operation to index data with the java api, but
allways get Excpetions; As it's not explained in guide I wanted to
kindly ask how it's done correctly.
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.