Description
There are a bunch of places in TestPointFields where assertQ() is used to verify that many docs match a query and have particular values – but because of how the XPath expressions are written there are implicit assumptions about the order of the docs matching the order they were added to the index, which isn't always garunteed depending on the randomized merge policy that might be used.
While fixing this, I also uncovered another test bug when checking DatePointField function sorting due to every doc having the same effective sort value
Attachments
Attachments
Issue Links
- is related to
-
SOLR-10815 TestPointFields.testDatePointFieldSortAndFunction() failure
- Resolved
- relates to
-
SOLR-9986 Implement DatePointField
- Closed