New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scroll REST API should support source parameter #4941
Labels
Comments
ghost
assigned dadoonet
Jan 29, 2014
dadoonet
added a commit
that referenced
this issue
Jan 29, 2014
As stated in documentation, we should support `?source=` parameter in `/_search/scroll` REST operations. This is how to reproduce it: ```sh curl -XDELETE "http://localhost:9200/test" curl -XPOST "http://localhost:9200/test/type/1" -d' { "foo": "bar" }' # This one works curl -XPOST "http://localhost:9200/_search/scroll" -d "FAKESCROLLID" # This one gives: {"error":"Failed to derive xcontent from org.elasticsearch.common.bytes.BytesArray@0"} curl -XGET "http://localhost:9200/_search/scroll/?source=FAKESCROLLID" ``` Closes #4941.
dadoonet
added a commit
that referenced
this issue
Jan 29, 2014
As stated in documentation, we should support `?source=` parameter in `/_search/scroll` REST operations. This is how to reproduce it: ```sh curl -XDELETE "http://localhost:9200/test" curl -XPOST "http://localhost:9200/test/type/1" -d' { "foo": "bar" }' # This one works curl -XPOST "http://localhost:9200/_search/scroll" -d "FAKESCROLLID" # This one gives: {"error":"Failed to derive xcontent from org.elasticsearch.common.bytes.BytesArray@0"} curl -XGET "http://localhost:9200/_search/scroll/?source=FAKESCROLLID" ``` Closes #4941.
dadoonet
added a commit
that referenced
this issue
Jan 29, 2014
As stated in documentation, we should support `?source=` parameter in `/_search/scroll` REST operations. This is how to reproduce it: ```sh curl -XDELETE "http://localhost:9200/test" curl -XPOST "http://localhost:9200/test/type/1" -d' { "foo": "bar" }' # This one works curl -XPOST "http://localhost:9200/_search/scroll" -d "FAKESCROLLID" # This one gives: {"error":"Failed to derive xcontent from org.elasticsearch.common.bytes.BytesArray@0"} curl -XGET "http://localhost:9200/_search/scroll/?source=FAKESCROLLID" ``` Closes #4941.
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
As stated in documentation, we should support `?source=` parameter in `/_search/scroll` REST operations. This is how to reproduce it: ```sh curl -XDELETE "http://localhost:9200/test" curl -XPOST "http://localhost:9200/test/type/1" -d' { "foo": "bar" }' # This one works curl -XPOST "http://localhost:9200/_search/scroll" -d "FAKESCROLLID" # This one gives: {"error":"Failed to derive xcontent from org.elasticsearch.common.bytes.BytesArray@0"} curl -XGET "http://localhost:9200/_search/scroll/?source=FAKESCROLLID" ``` Closes elastic#4941.
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
As stated in documentation, we should support `?source=` parameter in `/_search/scroll` REST operations. This is how to reproduce it: ```sh curl -XDELETE "http://localhost:9200/test" curl -XPOST "http://localhost:9200/test/type/1" -d' { "foo": "bar" }' # This one works curl -XPOST "http://localhost:9200/_search/scroll" -d "FAKESCROLLID" # This one gives: {"error":"Failed to derive xcontent from org.elasticsearch.common.bytes.BytesArray@0"} curl -XGET "http://localhost:9200/_search/scroll/?source=FAKESCROLLID" ``` Closes elastic#4941.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As stated in documentation, we should support
?source=
parameter in/_search/scroll
REST operations.This is how to reproduce it:
The text was updated successfully, but these errors were encountered: