public class IssueIdJoinQueryFactory extends Object
|Constructor and Description|
|Modifier and Type||Method and Description|
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 index
indexName- the name of the index used in searching. The index name should be provided by
SearchProviderFactory. Documents on this index should have the
ScoreMode.AvgLucene query which will filter by issue ids, or a
MatchNoDocsQuerywhen exception is caught.
Copyright © 2002-2020 Atlassian. All Rights Reserved.