| commit | 47c0a6ed18310dea0db32c894524d54fd447a850 | [log] [tgz] |
|---|---|---|
| author | Luca Cavanna <javanna@apache.org> | Fri Sep 06 22:46:59 2024 +0200 |
| committer | GitHub <noreply@github.com> | Fri Sep 06 22:46:59 2024 +0200 |
| tree | cbe16605ef922d06f75fad240349d55873342a67 | |
| parent | 0ec453d485df5411d21edd24b47f4880befd30d0 [diff] |
Replace static FacetsCollector#search methods (#13733) We have a few public static utility search methods in FacetsCollector that accept a Collector as last argument. In practice, these are expected to be called providing a `FacetsCollector` as last argument. Also, we'd like to remove all the search methods that take a `Collector` in favour of those that take a `CollectorManager` (see #12892). This commit adds the corresponding functionality to `FacetsCollectorManager`. The new methods take a `FacetsCollectorManager` as last argument. The return type has to be adapted to include also the facets results that were before made available through the collector argument. In order for tests to all work I had to add support for `keepScores` to `FacetsCollectorManager` which was missing. Closes #13725

Apache Lucene is a high-performance, full-featured text search engine library written in Java.
This README file only contains basic setup instructions. For more comprehensive documentation, visit:
gradlew).We‘ll assume that you know how to get and set up the JDK - if you don’t, then we suggest starting at https://jdk.java.net/ and learning more about Java, before returning to this README.
Bug fixes, improvements and new features are always welcome! Please review the Contributing to Lucene Guide for information on contributing.
#lucene and #lucene-dev on freenode.net