I'm wondering why BulkProcessor (and BulkRequest) only supports
IndexRequest, UpdateRequest, and DeleteRequests, and not SearchRequests?
I'd like to be able to use Bulk Processor for processing multiple queries
instead of having to use the MultiSearch API. Is this not possible? And if
so, why not?
The BulkProcessor is a helper class for managing write requests where large
chunks of documents are combined into a single write request which saves a
lot of network acknowledging ping/pong.
If you send queries, there is a small write request, after which large
response chunks are read, so there is no ping/pong, and no bulk mode is
needed.
I'm wondering why BulkProcessor (and BulkRequest) only supports
IndexRequest, UpdateRequest, and DeleteRequests, and not SearchRequests?
I'd like to be able to use Bulk Processor for processing multiple queries
instead of having to use the MultiSearch API. Is this not possible? And if
so, why not?
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.