Class FieldHitCollector
java.lang.Object
org.apache.lucene.search.SimpleCollector
com.atlassian.jira.lucene.internal.issue.statistics.util.FieldDocumentHitCollector
com.atlassian.jira.issue.statistics.util.FieldHitCollector
- All Implemented Interfaces:
org.apache.lucene.search.Collector
,org.apache.lucene.search.LeafCollector
@Deprecated(since="10.7",
forRemoval=true)
public class FieldHitCollector
extends FieldDocumentHitCollector
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorsConstructorDescriptionFieldHitCollector
(String fieldName) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoid
collect
(org.apache.lucene.document.Document d) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.This method should cache up the FieldSelector, such that overhead will be as small as possible when this method is called from theFieldDocumentHitCollector.collect(int)
method.Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.atlassian.jira.lucene.internal.issue.statistics.util.FieldDocumentHitCollector
collect, doSetNextReader, needsScores
Methods inherited from class org.apache.lucene.search.SimpleCollector
getLeafCollector, setScorer
-
Constructor Details
-
FieldHitCollector
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
collect
public void collect(org.apache.lucene.document.Document d) Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
collect
in classFieldDocumentHitCollector
-
getValues
Deprecated, for removal: This API element is subject to removal in a future version. -
getFieldsToLoad
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:FieldDocumentHitCollector
This method should cache up the FieldSelector, such that overhead will be as small as possible when this method is called from theFieldDocumentHitCollector.collect(int)
method.- Specified by:
getFieldsToLoad
in classFieldDocumentHitCollector
- Returns:
- a
Set
of fields to load
-