public class IssueIdFilterQueryFactory extends Object
Constructor and Description |
---|
IssueIdFilterQueryFactory(SearchProviderFactory searchProviderFactory) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
createIssueIdFilterQuery(org.apache.lucene.search.Query indexQuery,
String indexName)
Creates a lucene query that will restrict result to issues which are satisfy query executed on other index.
|
public IssueIdFilterQueryFactory(SearchProviderFactory searchProviderFactory)
public org.apache.lucene.search.Query createIssueIdFilterQuery(org.apache.lucene.search.Query indexQuery, String indexName)
indexQuery
- the lucene query that will be executed on 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 field which represents issue id.Copyright © 2002-2015 Atlassian. All Rights Reserved.