-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Problem with Scroll #326
Comments
Dang! i'm currently on holiday will have a look into this when i get back On Tuesday, August 6, 2013, librecourage wrote:
|
I´m having this same problem with scroll, on ElasticSearch 1.7.1 { And I need to delete some items from a index with type boolean (true) How can I solve this problem? |
@royborgiani, what version of NEST are you using with Elasticsearch 1.7.1? Also, do you have a concise example of what you're doing? |
How I GET the NEST version? I do the following, in the sense, I Execute the command below: GET /twitter/tweet/_search?scroll=1m and I get this return: { Then I: get the _scroll_id insert with the following command: DELETE /_search/scroll -d 'ccXVlcnlUaGVuRmV0Y2g7NTs1OTg6SFMtUS1Rb21TQXFNRF9JZzZGSjVHQTs1OTk6SFMtUS1Rb21TQXFNRF9JZzZGSjVHQTs2MDA6SFMtUS1Rb21TQXFNRF9JZzZGSjVHQTs2MDE6SFMtUS1Rb21TQXFNRF9JZzZGSjVHQTs2MDI6SFMtUS1Rb21TQXFNRF9JZzZGSjVHQTswOw==' So, I get that error: { :( |
Check the nuget package version of NEST that you are using in In your example above, where is the |
in the example no, but, i´m using the same scroll_id like below: GET /twitter/tweet/_search?scroll=1m GET /_search/scroll and the return of the second command is: { Finally, the same result as on the last comment before...i see this error, on delete or get... |
NEST 2.1 request:
NEST 1.6.1 request:
As it is visible newer version send JSON, while older send base64 string and query string parameters. |
Is this issue still open? I still have the issue for Nest 2.3.1 |
@kurokuriboh looking into it |
I actually found out the issue. Aws still uses elasticsearch 1.5 and the bug is not fixed until later version. The issue can be closed I believe. Sorry for that |
I'll close it after we're happy that it's not a wider issue. By the way @kurokuriboh, you should use the latest NEST 1.x release with Elasticsearch 1.5; NEST 2.x is not supported as being compatible. It may work for the most part, but there are breaking changes between Elasticsearch 1.x and 2.x that are reflected in changes to NEST, meaning that some things will not work at all. |
Just validated this works as expected with If you are seeing a problem at position 0, you are most likely sending json to Elasticsearch 1.x using a 2.x client. The scroll API only supports json since Elasticsearch 2.0.0 |
FTR, the equivalent CURL commands against ES 1.5 are:
|
With the version 0.11.2, i can't retrieve results via scrolling
I launch a query. The response is :
{"_scroll_id":"c2Nhbjs1Ozc3NjgyOjYwZFRpNmJwVGZPdUpRNkh2cmRBSmc7Nzc2ODU6NjBkVGk2YnBUZk91SlE2SHZyZEFKZzs3NzY4NDo2MGRUaTZicFRmT3VKUTZIdnJkQUpnOzc3NjgxOjYwZFRpNmJwVGZPdUpRNkh2cmRBSmc7Nzc2ODM6NjBkVGk2YnBUZk91SlE2SHZyZEFKZzsxO3RvdGFsX2hpdHM6Mjs=","took":63,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":2,"max_score":0.0,"hits":[]}}
When i want to see the results, Nest sends this message :
c2Nhbjs1Ozc3NjgyOjYwZFRpNmJwVGZPdUpRNkh2cmRBSmc7Nzc2ODU6NjBkVGk2YnBUZk91SlE2SHZyZEFKZzs3NzY4NDo2MGRUaTZicFRmT3VKUTZIdnJkQUpnOzc3NjgxOjYwZFRpNmJwVGZPdUpRNkh2cmRBSmc7Nzc2ODM6NjBkVGk2YnBUZk91SlE2SHZyZEFKZzsxO3RvdGFsX2hpdHM6Mjs%3D
and i receive this response
{"error":"ElasticSearchIllegalArgumentException[Failed to decode scrollId]; nested: IOException[Bad Base64 input character decimal 37 in array position 223]; ","status":400}
The text was updated successfully, but these errors were encountered: