Greg Miller created LUCENE-10644:
------------------------------------
Summary: Facets#getAllChildren testing should ignore child order
Key: LUCENE-10644
URL: https://issues.apache.org/jira/browse/LUCENE-10644
Project: Lucene - Core
Issue Type: Improvement
Components: modules/facet
Reporter: Greg Miller
Attachments: failing tests.png
Our javadoc for {{Facets#getAllChildren}} explicitly calls out that callers
should make no assumptions about child ordering, but a number of our own unit
tests turn around and make that assumption. I ran into this when recently
trying an optimization that would result in a different child ordering for
{{{}getAllChildren{}}}, and found a number of unit tests that started failing.
I'll upload a list of what I found failing.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]