-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
search_after not working with dates that are undefinded #28806
Comments
Could someone with @elastic/es-search-aggs take a look, maybe @jimczi? |
Elasticsearch will never return a value greater than Long.MAX_VALUE ( |
this is the value I am getting when using the javascript lib. Also when testing the query in kibana I get the same value of 9223372036854776000 |
Ok so this is an issue with javascript that handles number with 64bit floating point and can't represent large number accurately. I am going to close this issue because the problem is not in es. You can check this issue in Kibana: elastic/kibana#1274 and ask there what's the status. |
Describe the feature:
Elasticsearch version (6.2.1):
JVM version (
java -version
):OS version (windows):
Description of the problem including expected versus actual behavior:
Index with many documents some of which have a value for a date field deletedOn and others don't
query uses a sort : [{"deletedOn": "asc"}, {"_id" : "asc"}]
this sometimes returns a value in the sort:[9223372036854776000,"doc_id_1"] of the hit that when passed to the search if I provide this information to search_after I get an error because the value from thedate field is expected to be a max of an integer with an error No matching token for number_type [BIG_INTEGER]
Steps to reproduce:
Provide logs (if relevant):
The text was updated successfully, but these errors were encountered: