public class FieldHitCollector extends FieldableDocumentHitCollector
Constructor and Description |
---|
FieldHitCollector(org.apache.lucene.search.IndexSearcher searcher,
String fieldName) |
FieldHitCollector(String fieldName) |
Modifier and Type | Method and Description |
---|---|
void |
collect(org.apache.lucene.document.Document d) |
protected org.apache.lucene.document.FieldSelector |
getFieldSelector()
This method should cache up the FieldSelector, such that overhead will be as small as possible when
this method is called from the
FieldableDocumentHitCollector.collect(int) method. |
List<String> |
getValues() |
acceptsDocsOutOfOrder, collect, setNextReader, setScorer
public FieldHitCollector(org.apache.lucene.search.IndexSearcher searcher, String fieldName)
public FieldHitCollector(String fieldName)
public void collect(org.apache.lucene.document.Document d)
collect
in class FieldableDocumentHitCollector
protected org.apache.lucene.document.FieldSelector getFieldSelector()
FieldableDocumentHitCollector
FieldableDocumentHitCollector.collect(int)
method.getFieldSelector
in class FieldableDocumentHitCollector
FieldSelector
Copyright © 2002-2015 Atlassian. All Rights Reserved.