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, needsScorespublic FieldHitCollector(String fieldName)
public void collect(org.apache.lucene.document.Document d)
collect in class FieldDocumentHitCollectorprotected Set<String> getFieldsToLoad()
FieldDocumentHitCollectorFieldDocumentHitCollector.collect(int) method.getFieldsToLoad in class FieldDocumentHitCollectorSet of fields to loadCopyright © 2002-2024 Atlassian. All Rights Reserved.