@InjectableComponent public interface LuceneQueryBuilder
This should be used over using the QueryVisitor directly
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
createLuceneQuery(QueryCreationContext queryCreationContext,
Clause clause)
Converts a JQL
Clause into an lucene Query for searching JIRA lucene index. |
org.apache.lucene.search.Query createLuceneQuery(QueryCreationContext queryCreationContext, Clause clause) throws SearchException
Clause
into an lucene Query
for searching JIRA lucene index.queryCreationContext
- the secutiry context under which the lucene query should be generatedclause
- the JQL clause to convert into a lucene queryClause
, Never null.SearchException
- in case of query generation errorCopyright © 2002-2016 Atlassian. All Rights Reserved.