No handler found for uri for /_search/scroll?


(Mario Z) #1

Hello,

I am a newbe. When I try to use the rest interface with scroll and scroll_id, I receive this error:

HTTP protocol error 400 (Bad Request): No handler found for uri [/.../.../_search/scroll?

My goal to archive is to use scroll_id in the query parameters not in post body.

Any ideas or help for this error?


(vivek) #2

Not sure which query you have executed, but to get scroll id you need to provide scroll parameter with time value.
e.g.
GET index1/_search?scroll=1m
This will return search results with scroll id and scroll context will stay alive for 1 minute.
This might be useful for scroll API:
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-scroll.html
Hope this helps!


(Mark Walkom) #3

If you're having issues then it'll help us help you by providing the full request you are making along with any response or errors :slight_smile:


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.