Class DefaultLuceneQueryModifier
java.lang.Object
com.atlassian.jira.issue.search.util.DefaultLuceneQueryModifier
- All Implemented Interfaces:
LuceneQueryModifier
- Since:
- v4.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.QuerygetModifiedQuery(org.apache.lucene.search.Query originalQuery) Will clone and rewrite the query as per the rules defined above.
-
Constructor Details
-
DefaultLuceneQueryModifier
public DefaultLuceneQueryModifier()
-
-
Method Details
-
getModifiedQuery
public org.apache.lucene.search.Query getModifiedQuery(org.apache.lucene.search.Query originalQuery) Description copied from interface:LuceneQueryModifierWill clone and rewrite the query as per the rules defined above.- Specified by:
getModifiedQueryin interfaceLuceneQueryModifier- Parameters:
originalQuery- defines the lucene query to inspect, must not be null.- Returns:
- the modified query that will return the right results when run.
-