public class PrefixFieldableHitCollector extends FieldableDocumentHitCollector
| Constructor and Description |
|---|
PrefixFieldableHitCollector(org.apache.lucene.search.IndexSearcher searcher,
String fieldId,
String prefix,
Set<String> results) |
| Modifier and Type | Method and Description |
|---|---|
void |
collect(org.apache.lucene.document.Document doc) |
boolean |
equals(Object o) |
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. |
int |
hashCode() |
acceptsDocsOutOfOrder, collect, setNextReader, setScorerprotected org.apache.lucene.document.FieldSelector getFieldSelector()
FieldableDocumentHitCollectorFieldableDocumentHitCollector.collect(int) method.getFieldSelector in class FieldableDocumentHitCollectorFieldSelectorpublic void collect(org.apache.lucene.document.Document doc)
collect in class FieldableDocumentHitCollectorCopyright © 2002-2019 Atlassian. All Rights Reserved.