public class

IssueIdFilterQueryFactory

extends Object
java.lang.Object
   ↳ com.atlassian.jira.jql.query.IssueIdFilterQueryFactory

Class Overview

Creates a lucene query that will restrict result to issues which are satisfy query executed on other index.

Summary

Public Constructors
IssueIdFilterQueryFactory(SearchProviderFactory searchProviderFactory)
Public Methods
Query createIssueIdFilterQuery(Query indexQuery, String indexName)
Creates a lucene query that will restrict result to issues which are satisfy query executed on other index.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public IssueIdFilterQueryFactory (SearchProviderFactory searchProviderFactory)

Public Methods

public Query createIssueIdFilterQuery (Query indexQuery, String indexName)

Creates a lucene query that will restrict result to issues which are satisfy query executed on other index.

Parameters
indexQuery the lucene query that will be executed on 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 field which represents issue id.
Returns
  • the constant score lucene query which will filters by issue ids. Return empty BooleanQuery when exception was caught.