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, setScorerpublic 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 FieldableDocumentHitCollectorprotected org.apache.lucene.document.FieldSelector getFieldSelector()
FieldableDocumentHitCollectorFieldableDocumentHitCollector.collect(int) method.getFieldSelector in class FieldableDocumentHitCollectorFieldSelectorCopyright © 2002-2018 Atlassian. All Rights Reserved.