public class OneDimensionalDocIssueHitCollector extends AbstractOneDimensionalHitCollector
| Constructor and Description |
|---|
OneDimensionalDocIssueHitCollector(String luceneGroupField,
StatsGroup statsGroup,
org.apache.lucene.index.IndexReader searcher,
IssueFactory issueFactory,
FieldVisibilityManager fieldVisibilityManager,
ReaderCache readerCache,
FieldManager fieldManager,
ProjectManager projectManager) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
collectIrrelevant(int docId)
Implement this if you would like to do something when the hit collector has encountered a docId that contains an
irrelevant data match
|
protected void |
collectWithTerms(int docId,
JiraBytesRef[] terms)
Implement this if you would like to do something with the hit we have found.
|
acceptsDocsOutOfOrder, collect, getHitCount, getIrrelevantCount, setNextReader, setScorerpublic OneDimensionalDocIssueHitCollector(String luceneGroupField, StatsGroup statsGroup, org.apache.lucene.index.IndexReader searcher, IssueFactory issueFactory, FieldVisibilityManager fieldVisibilityManager, ReaderCache readerCache, FieldManager fieldManager, ProjectManager projectManager)
protected void collectIrrelevant(int docId)
AbstractOneDimensionalHitCollectorcollectIrrelevant in class AbstractOneDimensionalHitCollectordocId - the match we have found. This is an index into the overall directory reader.protected void collectWithTerms(int docId,
JiraBytesRef[] terms)
AbstractOneDimensionalHitCollectorcollectWithTerms in class AbstractOneDimensionalHitCollectordocId - the doc id of the hit. This is an index into the overall directory reader.terms - the terms for the fieldId for this document, pre-calculated so you may not need to call getDocumentCopyright © 2002-2017 Atlassian. All Rights Reserved.