public class

FieldHitCollector

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

Summary

Public Constructors
FieldHitCollector(IndexSearcher searcher, String fieldName)
FieldHitCollector(String fieldName)
Public Methods
void collect(Document d)
List<String> getValues()
Protected Methods
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 com.atlassian.jira.issue.statistics.util.FieldableDocumentHitCollector
From class org.apache.lucene.search.Collector
From class java.lang.Object

Public Constructors

public FieldHitCollector (IndexSearcher searcher, String fieldName)

public FieldHitCollector (String fieldName)

Public Methods

public void collect (Document d)

public List<String> getValues ()

Protected Methods

protected 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