public abstract class

FieldableDocumentHitCollector

extends Collector
java.lang.Object
   ↳ org.apache.lucene.search.Collector
     ↳ com.atlassian.jira.issue.statistics.util.FieldableDocumentHitCollector
Known Direct Subclasses

Class Overview

A Lucene search Collector that retrieves only a subset of fields within the Document for each result.

Summary

Protected Constructors
@Deprecated FieldableDocumentHitCollector(IndexSearcher searcher)
This constructor is deprecated. {@since v6.1}
FieldableDocumentHitCollector()
Public Methods
boolean acceptsDocsOutOfOrder()
abstract void collect(Document d)
void collect(int i)
void setNextReader(IndexReader reader, int docBase)
void setScorer(Scorer scorer)
Protected Methods
abstract 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 collect(int) method.
[Expand]
Inherited Methods
From class org.apache.lucene.search.Collector
From class java.lang.Object

Protected Constructors

@Deprecated protected FieldableDocumentHitCollector (IndexSearcher searcher)

This constructor is deprecated.
{@since v6.1}

Deprecated constructor. The searcher is not used by this class anymore.

protected FieldableDocumentHitCollector ()

Public Methods

public boolean acceptsDocsOutOfOrder ()

public abstract void collect (Document d)

public void collect (int i)

public void setNextReader (IndexReader reader, int docBase)

Throws
IOException

public void setScorer (Scorer scorer)

Throws
IOException

Protected Methods

protected abstract 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 collect(int) method.

Returns