public class IssueIdJoinQueryFactory extends Object
| Constructor and Description |
|---|
IssueIdJoinQueryFactory(SearchProviderFactory searchProviderFactory) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.Query |
createIssueIdJoinQuery(org.apache.lucene.search.Query indexQuery,
String indexName)
Creates a Lucene query that will restrict result to issues which satisfy query executed on other index.
|
public IssueIdJoinQueryFactory(SearchProviderFactory searchProviderFactory)
public org.apache.lucene.search.Query createIssueIdJoinQuery(org.apache.lucene.search.Query indexQuery,
String indexName)
indexQuery - the Lucene query that will be executed on the passed indexindexName - the name of the index used in searching.
The index name should be provided by SearchProviderFactory.
Documents on this index should have the DocumentConstants.ISSUE_ID field.ScoreMode.Avg Lucene query which will filter by issue ids, or
a MatchNoDocsQuery when exception is caught.Copyright © 2002-2019 Atlassian. All Rights Reserved.