public class DocumentHashingHitCollector
extends org.apache.lucene.search.Collector
This is useful if you wish to detemine if the results of a search have changed, but you don't want to calculate the results each time.
PagerManager
Constructor and Description |
---|
DocumentHashingHitCollector() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsDocsOutOfOrder() |
void |
collect(int doc) |
int |
getHashCode() |
void |
setNextReader(org.apache.lucene.index.IndexReader reader,
int docBase) |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
public void collect(int doc)
collect
in class org.apache.lucene.search.Collector
public void setScorer(org.apache.lucene.search.Scorer scorer) throws IOException
setScorer
in class org.apache.lucene.search.Collector
IOException
public void setNextReader(org.apache.lucene.index.IndexReader reader, int docBase) throws IOException
setNextReader
in class org.apache.lucene.search.Collector
IOException
public boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder
in class org.apache.lucene.search.Collector
public int getHashCode()
Copyright © 2002-2015 Atlassian. All Rights Reserved.