epotyom opened a new pull request, #14237: URL: https://github.com/apache/lucene/pull/14237
In the initial sandbox facet module PR @gsmiller [suggested](https://github.com/apache/lucene/pull/13568#issuecomment-2249005915) adding helpers to make common tasks easier. This implementation uses existing type `FacetResult` to return results. The type has limitations, e.g. it supports only one value per label. At the same time, it is simple, users are already familiar with it, and it is probably good enough for the most common tasks. Users who need more complex results can use the lower level API FacetCutter, FacetRecorder, etc to get multiple aggregations per label, to implement custom sort order or any other non-trivial faceting task. It's a draft, if people are ok with the approach overall I will add more unit tests and javadocs. -- 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