public interface MatchHandler
JiraLuceneFieldFinderto handle matched terms in a customised way.
|Modifier and Type||Method and Description|
void handleMatchedDocument(int doc, String termValue)
JiraLuceneFieldFinder.getMatches(org.apache.lucene.index.IndexReader, String, MatchHandler)for each field value for each document. The calls will be made in order of increasing term values, with the document identifiers supplied in an arbitrary order.
doc- the document identifier for the document that contains the term. In JIRA, this indentifies a particular issue
termValue- the value assigned to the term. In JIRA, this is the value assigned to the field.
Copyright © 2002-2019 Atlassian. All Rights Reserved.