Skip to content

Scroll URL length limit #318

Closed
Closed
@scottc52-zz

Description

@scottc52-zz

I'm using nest to scroll through a scan query.
Nest sends a request using the url: http://{address}:9200/_search/scroll?scroll=10m&scroll_id={scroll_id}
The scroll_id gets longer if you have a lot of shards. For me, with 500 shards, I get an id of length 20708. This causes the last parts of the scroll_id to be thrown away when added to the url.

Would using the syntax from here: http://www.elasticsearch.org/guide/reference/api/search/search-type/
solve the problem?
It would look like this:
curl -XGET 'localhost:9200/_search/scroll?scroll=10m' -d '{scroll_id}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions