I was wondering if I can pass multiple queries in single requests. I'm
trying to compute a table using elastic search. I have to execute 100
queries separately to fill up the table. Thats lots of network I/0 instead
I'm wondering If i can pass multiple queries in one request.
I was wondering if I can pass multiple queries in single requests. I'm trying to compute a table using Elasticsearch. I have to execute 100 queries separately to fill up the table. Thats lots of network I/0 instead I'm wondering If i can pass multiple queries in one request.
just a note about your network I/O. It might make sense not to put 100
requests in one multi search request, because the slowest of these queries
will determine the total response time of your request and slow down all
others. Please check out your HTTP connection library if it supports HTTP
Keep Alive, so you can save the overhead of creating new TCP connections
and 'only' have the HTTP overhead per request (which is ok in most cases).
Also, do some performance tests if your HTTP client library maybe slow at
special circumstances and if it makes sense to replace...
--Alex
On Fri, Apr 12, 2013 at 8:01 PM, David Pilato david@pilato.fr wrote:
I was wondering if I can pass multiple queries in single requests. I'm
trying to compute a table using Elasticsearch. I have to execute 100
queries separately to fill up the table. Thats lots of network I/0 instead
I'm wondering If i can pass multiple queries in one request.
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.