@ExperimentalApi
public interface MatchHandler
JiraLuceneFieldFinder
to handle matched terms in a customised
way.Modifier and Type | Method and Description |
---|---|
void |
handleMatchedDocument(int doc,
String termValue)
Invoked by
JiraLuceneFieldFinder.getMatches(org.apache.lucene.index.IndexReader, String, MatchHandler)
for each field value for each document. |
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 issuetermValue
- the value assigned to the term. In JIRA, this is the value
assigned to the field.Copyright © 2002-2015 Atlassian. All Rights Reserved.