I am running a text_phrase query over a range of timestamps. this query is
perfectly fine. I want to download the entire result (some 1.5 million
documents) so I used scan + scroll_id method.
This is my Curl
curl -XGET
'remotehost:9200/graylog2/messsage/_search?search_type=scan&scroll=10m&size=10'
-d '
{
"query":{"bool":{"must":[{"text":{"message":"this is an
error"}},{"range":{"created_at":{"from":"1341597072","to":"1344275472"}}}]}}
}
I get the scrollid in response as we should.
next step: use the scroll id on the _Search endpoint
I am running a text_phrase query over a range of timestamps. this query is perfectly fine. I want to download the entire result (some 1.5 million documents) so I used scan + scroll_id method.
This is my Curl
curl -XGET 'remotehost:9200/graylog2/messsage/_search?search_type=scan&scroll=10m&size=10' -d '
{
"query":{"bool":{"must":[{"text":{"message":"this is an error"}},{"range":{"created_at":{"from":"1341597072","to":"1344275472"}}}]}}
}
I get the scrollid in response as we should.
next step: use the scroll id on the _Search endpoint
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.