public class FieldHitCollector extends FieldDocumentHitCollector
Constructor and Description |
---|
FieldHitCollector(String fieldName) |
Modifier and Type | Method and Description |
---|---|
void |
collect(org.apache.lucene.document.Document d) |
protected Set<String> |
getFieldsToLoad()
This method should cache up the FieldSelector, such that overhead will be as small as possible when
this method is called from the
FieldDocumentHitCollector.collect(int) method. |
List<String> |
getValues() |
collect, doSetNextReader, needsScores
public FieldHitCollector(String fieldName)
public void collect(org.apache.lucene.document.Document d)
collect
in class FieldDocumentHitCollector
protected Set<String> getFieldsToLoad()
FieldDocumentHitCollector
FieldDocumentHitCollector.collect(int)
method.getFieldsToLoad
in class FieldDocumentHitCollector
Set
of fields to loadCopyright © 2002-2022 Atlassian. All Rights Reserved.