com.atlassian.confluence.search.v2.query
Class BoostingQuery

java.lang.Object
  extended by com.atlassian.confluence.search.v2.query.BoostingQuery
All Implemented Interfaces:
SearchQuery

public class BoostingQuery
extends 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.


Constructor Summary
BoostingQuery(SearchQuery wrappedQuery, SearchQueryParameters searchQueryParameters)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getKey()
           
 List<Object> getParameters()
          List of parameters as Strings or SearchQuerys.
 SearchQueryParameters getSearchQueryParameters()
           
 SearchQuery getWrappedQuery()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoostingQuery

public BoostingQuery(SearchQuery wrappedQuery,
                     SearchQueryParameters searchQueryParameters)
Method Detail

getKey

public String getKey()
Specified by:
getKey in interface SearchQuery
Returns:
the plugin key

getParameters

public List<Object> getParameters()
Description copied from interface: SearchQuery
List of parameters as Strings or SearchQuerys.

Specified by:
getParameters in interface SearchQuery
Returns:
Strings or SearchQuerys.

getWrappedQuery

public SearchQuery getWrappedQuery()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getSearchQueryParameters

public SearchQueryParameters getSearchQueryParameters()


Copyright © 2003-2011 Atlassian. All Rights Reserved.