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 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.


Constructor Summary
BoostingQuery(SearchQuery wrappedQuery, SearchQueryParameters searchQueryParameters)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getKey()
           
 java.util.List<java.lang.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 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 Strings or SearchQuerys.

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

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-2014 Atlassian. All Rights Reserved.