@ExperimentalApi public class SingleValueMatchHandler extends Object implements MatchHandler
| Constructor and Description |
|---|
SingleValueMatchHandler(int maxdoc) |
| Modifier and Type | Method and Description |
|---|---|
List<String>[] |
getResults()
Get the results from the match handler.
|
void |
handleMatchedDocument(int doc,
String termValue)
Invoked by
JiraLuceneFieldFinder.getMatches(org.apache.lucene.index.IndexReader, String, MatchHandler)
for each field value for each document. |
public void handleMatchedDocument(int doc,
String termValue)
MatchHandlerJiraLuceneFieldFinder.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.handleMatchedDocument in interface MatchHandlerdoc - 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.public List<String>[] getResults()
Collections.singletonList(Object)).Copyright © 2002-2019 Atlassian. All Rights Reserved.