Yuting Gan created LUCENE-10652:
-----------------------------------

             Summary: Add a top-n range faceting example to RangeFacetsExample
                 Key: LUCENE-10652
                 URL: https://issues.apache.org/jira/browse/LUCENE-10652
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Yuting Gan


In LUCENE-10614, we modified the behavior of getTopChildren to actually return 
top-n ranges ordered by count. The original behavior of getTopChildren in 
RangeFacetsCounts was to return all ranges ordered by constructor-specified 
range order, and this behavior is now retained in the getAllChildren API 
(LUCENE-10550).

Therefore, it would be helpful to add an example in RangeFacetsExample to demo 
this change. I replaced the original example of getTopChildren with 
getAllChildren, and will add an example of the current getTopChildren API soon.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to