public abstract class AbstractDocumentHitCollector
extends org.apache.lucene.search.Collector
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.index.AtomicReaderContext |
context |
protected org.apache.lucene.search.IndexSearcher |
searcher
Deprecated.
since 5.4
|
Constructor and Description |
---|
AbstractDocumentHitCollector() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
collect(org.apache.lucene.document.Document document) |
void |
collect(int docId) |
org.apache.lucene.search.IndexSearcher |
getSearcher()
Deprecated.
since 5.4 use context.reader or provide a valid use case to Bamboo team
|
void |
setNextReader(org.apache.lucene.index.AtomicReaderContext context) |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
void |
setSearcher(org.apache.lucene.search.IndexSearcher searcher) |
@Deprecated protected volatile org.apache.lucene.search.IndexSearcher searcher
protected org.apache.lucene.index.AtomicReaderContext context
@Deprecated public org.apache.lucene.search.IndexSearcher getSearcher()
public void setSearcher(org.apache.lucene.search.IndexSearcher searcher)
public void collect(int docId)
collect
in class org.apache.lucene.search.Collector
public void setNextReader(org.apache.lucene.index.AtomicReaderContext context) throws IOException
setNextReader
in class org.apache.lucene.search.Collector
IOException
public void setScorer(org.apache.lucene.search.Scorer scorer) throws IOException
setScorer
in class org.apache.lucene.search.Collector
IOException
protected abstract void collect(@NotNull org.apache.lucene.document.Document document)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.