I have done some other things as well where the query is more complicated, but decided to take it to the simplest form available in the documentation. I was expecting to get back a "scroll_id"
That output you posted is the response you get when creating a document.
Also it is nice to wrap code in ``` so it is highlighted and stuff. It is also useful to add &pretty to most uses of curl so it is easier to read the responses.
I found the issue --- was too confident in one of the components I was using in my system -- it was working just fine for normal queries -- when trying to use it for the scroll api it's failing for some reason i.e _search vs _search?scroll=1m -- very weird
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.