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
timestamp term match broken in 0.18.5 #1543
Comments
Can you gist a full curl recreation that shows this, with creation of index (with custom mappings if you have it), and then search that shows the problem. |
The recreation: https://gist.github.com/1481503 |
for backward compat we enabled this: index : but does not work without this config too |
Yea, its a regression due to the new "parse_upper_inclusive" setting. You can disable it for now and I will push a fix to master and 0.18.6. |
thanks for your immediate replies. i can't disable it in our cluster, because an application relies on the old behavior. when do you plan to release 0.18.6? thx |
fyi: i tested it again if it works without setting parse_upper_inclusive ... it does not fix the issue |
The old behavior is preserved when setting the parse_upper_inclusive to false, if you don't set it, it will use the new behavior which has the bug with term matching. |
you are right, the setting fixes the issue! |
using a boolean query with a timestamp in a term, returns non-matching items.
the example below returns all items with searched domain and ANY "ts" value in 0.18.5. in 0.17.6 the "ts" field must match. we already tried it with integer and string fields instead of the timestamp field which works, so it seems this is timestamp related?
we also tried using a filtered query and filtering by "ts" which does not work either.
e.g:
we also tried using the "ts" as the only requirement. in this case entries from the matching day are returned but the time does not need to match.
the searched timestamp is Mo Sep 26 00:00:00 UTC 2011, but results appear with timestamps like this ts: 2011-09-26T04:19:38.000Z
The text was updated successfully, but these errors were encountered: