com.atlassian.jira.issue.search.util
Class DefaultLuceneQueryModifier
java.lang.Object
com.atlassian.jira.issue.search.util.DefaultLuceneQueryModifier
- All Implemented Interfaces:
- LuceneQueryModifier
public class DefaultLuceneQueryModifier
- extends Object
- implements LuceneQueryModifier
- Since:
- v4.0
Method Summary |
org.apache.lucene.search.Query |
getModifiedQuery(org.apache.lucene.search.Query originalQuery)
Will clone and rewrite the query as per the rules defined above. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLuceneQueryModifier
public DefaultLuceneQueryModifier()
getModifiedQuery
public org.apache.lucene.search.Query getModifiedQuery(org.apache.lucene.search.Query originalQuery)
- Description copied from interface:
LuceneQueryModifier
- Will clone and rewrite the query as per the rules defined above.
- Specified by:
getModifiedQuery
in interface LuceneQueryModifier
- Parameters:
originalQuery
- defines the lucene query to inspect, must not be null.
- Returns:
- the modified query that will return the right results when run.
Copyright © 2002-2014 Atlassian. All Rights Reserved.