mirror of https://github.com/apache/lucene.git
FacetsCollector#collect is no longer final to allow extension (#11804)
This commit is contained in:
parent
d943b76215
commit
ac12cd9f17
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue