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

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

public class BoostByModificationDateQuery
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
BoostByModificationDateQuery(SearchQuery wrappedQuery)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getKey()
           
 java.util.List getParameters()
          List of parameters as Strings or SearchQuerys.
 SearchQuery getWrappedQuery()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoostByModificationDateQuery

public BoostByModificationDateQuery(SearchQuery wrappedQuery)
Method Detail

getKey

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

getParameters

public java.util.List 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


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.