com.atlassian.jira.issue.statistics.util
Class DocumentHashingHitCollector
java.lang.Object
org.apache.lucene.search.HitCollector
com.atlassian.jira.issue.statistics.util.DocumentHashingHitCollector
public class DocumentHashingHitCollector
- extends org.apache.lucene.search.HitCollector
A HitCollector that iterates through the documents, and calculates a hash code.
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.
- See Also:
PagerManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentHashingHitCollector
public DocumentHashingHitCollector()
collect
public void collect(int doc,
float score)
- Specified by:
collect
in class org.apache.lucene.search.HitCollector
getHashCode
public int getHashCode()
Copyright © 2002-2011 Atlassian. All Rights Reserved.