Yuti-G opened a new pull request, #1035: URL: https://github.com/apache/lucene/pull/1035
### Description In [LUCENE-10614](https://issues.apache.org/jira/browse/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](https://issues.apache.org/jira/browse/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 added a new example of getTopChildren. https://issues.apache.org/jira/browse/LUCENE-10652 ### Tests Added new unit test -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org