I was using Bulkprocessor to index some documents (1005), but I only ended up with 1003 in ES. Also, this value could change when I change the settings of bulkprocessor (setConcurrentRequests to 10). Can someone help me out? Thanks. Below is my code,
How did you get the numbers? Like are you counting the numbers in the
listener or are you counting after you shut down the processor? If you are
counting after, are you refreshing? That is what I'd check first.
After that I'd try to make a minimal recreation. Maybe that'd find a
mistake you made or, if not, it'd be way easier to work from for us to
reproduce the bug.
Thanks! The original number was counted in the loop that I used to add indexRequest to Bulkprocessor. The result number was counted in Sense after I shut down both the bulkprocessor and node.
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.