The GitHub Actions job "Build" on jackrabbit-oak.git/trunk has succeeded.
Run started by GitHub user thomasmueller (triggered by thomasmueller).

Head commit for run:
d2de24e2f4ebd8395691e968aa276ab712816433 / Anton Hosgood <[email protected]>
OAK-12343: document and test that ORDER BY on a type=Date ordered property 
fails for non-date values (#3075)

* OAK-12343: document and test that ORDER BY on a type=Date ordered property 
fails for non-date values

An ordered Lucene property index declared with type=Date only works when every
value is a valid ISO-8601 date. Non-date values are not indexed as dates, so
ORDER BY on the property returns the wrong order, or no results when the query
relies on that property to select nodes.

- Document the limitation and workarounds under the type option in lucene.md.
- Add LuceneOrderByTest cases for both symptoms (wrong order / no results).
- Clarify the WARN in LuceneDocumentMaker to state the ORDER BY consequence.
- Add protected passthrough helpers in OrderByCommonTest so LuceneOrderByTest
  can build indexes.

* OAK-12343: add Elastic coverage for graceful ordering of non-date values

Elastic sorts missing (non-date) values last rather than as the epoch, so it
returns the valid dates in order with the non-date value last - unlike Lucene,
which mis-orders or drops rows. This asserts that divergence.

---------

Co-authored-by: Anton Hosgood <[email protected]>

Report URL: https://github.com/apache/jackrabbit-oak/actions/runs/31568984431

With regards,
GitHub Actions via GitBox

Reply via email to