public class

DocumentHashingHitCollector

extends Collector
java.lang.Object
   ↳ org.apache.lucene.search.Collector
     ↳ com.atlassian.jira.issue.statistics.util.DocumentHashingHitCollector

Class Overview

A Collector 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

Summary

Public Constructors
DocumentHashingHitCollector()
Public Methods
boolean acceptsDocsOutOfOrder()
void collect(int doc)
int getHashCode()
void setNextReader(IndexReader reader, int docBase)
void setScorer(Scorer scorer)
[Expand]
Inherited Methods
From class org.apache.lucene.search.Collector
From class java.lang.Object

Public Constructors

public DocumentHashingHitCollector ()

Public Methods

public boolean acceptsDocsOutOfOrder ()

public void collect (int doc)

public int getHashCode ()

public void setNextReader (IndexReader reader, int docBase)

Throws
IOException

public void setScorer (Scorer scorer)

Throws
IOException