You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Greg Miller (Jira)" <ji...@apache.org> on 2022/08/18 18:04:00 UTC

[jira] [Resolved] (LUCENE-10644) Facets#getAllChildren testing should ignore child order

     [ https://issues.apache.org/jira/browse/LUCENE-10644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Miller resolved LUCENE-10644.
----------------------------------
    Fix Version/s: 9.4
       Resolution: Fixed

> 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
>            Priority: Minor
>             Fix For: 9.4
>
>         Attachments: failing tests.png
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> 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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org