-
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
Range query broken on dates #49804
Comments
Pinging @elastic/es-core-infra (:Core/Infra/Core) |
Pinging @elastic/es-search (:Search/Mapping) |
This sounds like it might be a case of #40913 ? |
Thank you for responding so quickly. Its worth saying this was not an upgraded system from 6. We installed 7 onto a clean system. I did a quick search for date_time_parse_exception but couldnt find anything relevant. Cheers |
Here is the mapping for the field also:
|
In 7.5, the problem doesn't reproduce. It's a bug and fixed in 7.5. see #47423 |
Awesome thanks! |
Elasticsearch version (
bin/elasticsearch --version
):{
"cluster_uuid" : "P_sQQBFfQ2Wt_Cn_rwz8Fg",
"version" : {
"number" : "7.4.0",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "22e1767283e61a198cb4db791ea66e3f11ab9910",
"build_date" : "2019-09-27T08:36:48.569419Z",
"build_snapshot" : false,
"lucene_version" : "8.2.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
OS version (
uname -a
if on a Unix-like system):Linux SNIP 3.10.0-957.el7.x86_64 #1 SMP Thu Nov 8 23:39:32 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Description of the problem including expected versus actual behavior:
When performing a range query with an lte value and an ISO Date I get an error parsing the date. I don't get these errors on the gte field. Example queries and results shown below:
In fact just lte fails:
The following queries work:
All of these queries work on an ES5 system.
The text was updated successfully, but these errors were encountered: