FacetsCollector#collect is no longer final to allow extension (#11804)

This commit is contained in:
Greg Miller 2022-09-26 10:15:31 -07:00 committed by GitHub
parent d943b76215
commit ac12cd9f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -96,6 +96,8 @@ API Changes
* GITHUB#11772: Removed native subproject and WindowsDirectory implementation from lucene.misc. Recommendation:
use MMapDirectory implementation on Windows. (Robert Muir, Uwe Schindler, Dawid Weiss)
* GITHUB#11804: FacetsCollector#collect is no longer final, allowing extension. (Greg Miller)
Improvements
---------------------
* GITHUB#11778: Detailed part-of-speech information for particle(조사) and ending(어미) on Nori

View File

@ -114,7 +114,7 @@ public class FacetsCollector extends SimpleCollector {
}
@Override
public final void collect(int doc) throws IOException {
public void collect(int doc) throws IOException {
docsBuilder.grow(1).add(doc);
if (keepScores) {
if (totalHits >= scores.length) {