Class FieldValuesCollector
- java.lang.Object
-
- org.apache.lucene.search.Collector
-
- com.atlassian.confluence.internal.index.lucene.AbstractDocumentCollector<Map<String,String[]>>
-
- com.atlassian.confluence.internal.index.lucene.FieldValuesCollector
-
public class FieldValuesCollector extends AbstractDocumentCollector<Map<String,String[]>>
Originally an inner class ofLuceneSearchIndexAccessor
, but extracted as a first-citizen class here for better clarity.- Since:
- 7.17
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.internal.index.lucene.AbstractDocumentCollector
requestedFields
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setScorer(org.apache.lucene.search.Scorer scorer)
Map<String,String[]>
toConsumable(org.apache.lucene.document.Document document)
-
Methods inherited from class com.atlassian.confluence.internal.index.lucene.AbstractDocumentCollector
acceptsDocsOutOfOrder, collect, getCount, getRequestedFields, setIndexSearcher, setNextReader
-
-
-
-
Method Detail
-
toConsumable
public Map<String,String[]> toConsumable(org.apache.lucene.document.Document document)
- Specified by:
toConsumable
in classAbstractDocumentCollector<Map<String,String[]>>
-
setScorer
public void setScorer(org.apache.lucene.search.Scorer scorer)
- Specified by:
setScorer
in classorg.apache.lucene.search.Collector
-
-