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, setScorer
protected org.apache.lucene.document.FieldSelector getFieldSelector()
FieldableDocumentHitCollector
FieldableDocumentHitCollector.collect(int)
method.getFieldSelector
in class FieldableDocumentHitCollector
FieldSelector
public void collect(org.apache.lucene.document.Document doc)
collect
in class FieldableDocumentHitCollector
Copyright © 2002-2015 Atlassian. All Rights Reserved.