How to send multi search api directly through url
i get following error {"error":"Failed to derive xcontent from (offset=0,
length=0): "}
On Tue, Apr 10, 2012 at 5:28 PM, jajoria abhishek <
jajoria.abhishek@gmail.com> wrote:
How to send multi search api directly through url
It doesn't seem to be possible. You have to post search requests in http
request body.
On Tuesday, April 10, 2012 8:10:08 AM UTC-4, jajoria abhishek wrote:
i get following error {"error":"Failed to derive xcontent from (offset=0,
length=0): "}On Tue, Apr 10, 2012 at 5:28 PM, jajoria abhishek <
jajoria.abhishek@gmail.com> wrote:How to send multi search api directly through url
I am querying through elasticsearch head how can I send multi search query .
the normal format doesn't seem to work there can you give me any solution
$ cat requests
{"index" : "test"}
{"query" : {"match_all" : {}}, "from" : 0, "size" : 10}
{"index" : "test", "search_type" : "count"}
{"query" : {"match_all" : {}}}
{}
{"query" : {"match_all" : {}}}
{"query" : {"match_all" : {}}}
{"search_type" : "count"}
{"query" : {"match_all" : {}}}
$ curl -XGET localhost:9200/_msearch --data-binary @requests; echo
On Wed, Apr 11, 2012 at 3:15 AM, Igor Motov imotov@gmail.com wrote:
It doesn't seem to be possible. You have to post search requests in http
request body.On Tuesday, April 10, 2012 8:10:08 AM UTC-4, jajoria abhishek wrote:
i get following error {"error":"Failed to derive xcontent from
(offset=0, length=0): "}On Tue, Apr 10, 2012 at 5:28 PM, jajoria abhishek <
jajoria.abhishek@gmail.com> wrote:How to send multi search api directly through url