org.compass.core
Class CompassQuery.SortImplicitType

java.lang.Object
  extended by org.compass.core.util.Parameter
      extended by org.compass.core.CompassQuery.SortImplicitType
All Implemented Interfaces:
Serializable
Enclosing interface:
CompassQuery

public static final class CompassQuery.SortImplicitType
extends Parameter

Implicit types that the hits can be sorted by.

Author:
kimchy
See Also:
Serialized Form

Field Summary
static CompassQuery.SortImplicitType DOC
          Sort by document number (index order).
static CompassQuery.SortImplicitType SCORE
          Sort by resource score (relevancy).
 
Method Summary
 
Methods inherited from class org.compass.core.util.Parameter
readResolve, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SCORE

public static final CompassQuery.SortImplicitType SCORE
Sort by resource score (relevancy). Sort values are Float and higher values are at the front.


DOC

public static final CompassQuery.SortImplicitType DOC
Sort by document number (index order). Sort values are Integer and lower values are at the front. Note, that if an updated occurs, the document number will be higher.



Copyright (c) 2004-2008 The Compass Project.