com.atlassian.confluence.search.v2.query
Class BoostingQuery
java.lang.Object
com.atlassian.confluence.search.v2.query.BoostingQuery
- All Implemented Interfaces:
- SearchQuery
public class BoostingQuery
- extends java.lang.Object
- implements SearchQuery
A wrapping query that boost the scores provided by the
underlying query based on the modification date. Recently
modified Document get a higher boost.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
BoostingQuery
public BoostingQuery(SearchQuery wrappedQuery,
SearchQueryParameters searchQueryParameters)
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interface SearchQuery
- Returns:
- the plugin key
getParameters
public java.util.List<java.lang.Object> getParameters()
- Description copied from interface:
SearchQuery
- List of parameters as
String
s or SearchQuery
s.
- Specified by:
getParameters
in interface SearchQuery
- Returns:
String
s or SearchQuery
s.
getWrappedQuery
public SearchQuery getWrappedQuery()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getSearchQueryParameters
public SearchQueryParameters getSearchQueryParameters()
Copyright © 2003-2010 Atlassian. All Rights Reserved.