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.

Jörg

On Thu, Mar 26, 2015 at 8:13 PM, Andre Encarnacao <
[email protected]> wrote:

> Hi,
>
> 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?
>
> Thanks!
> Andre
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "elasticsearch" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/e7fe75d3-2684-4514-ab3d-c8b361fc6de3%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/e7fe75d3-2684-4514-ab3d-c8b361fc6de3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoE3woWQ8O3MKdE-Vc7quzmJ3So_KQf6Zvmhmqq9Bf4q7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to