Anton Hosgood created OAK-12344:
-----------------------------------
Summary: Lucene and Elastic disagree on ORDER BY when an ordered
value doesn't match the index-declared type
Key: OAK-12344
URL: https://issues.apache.org/jira/browse/OAK-12344
Project: Jackrabbit Oak
Issue Type: Bug
Reporter: Anton Hosgood
For an ordered property index declared type=Date where some values aren't valid
dates, the two backends behave differently for the same query and data:
- Lucene: the value is dropped; ORDER BY returns the wrong order (values sort
as the epoch) or no results (numeric range matches nothing).
- Elastic: returns the rows with the offending values sorted last
(missing=_last).
The same index + query should behave the same on both backends.
Follow-up to OAK-12343.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)