The Sort type exposes the following members.

Fields

  NameDescription
Public fieldStatic memberINDEXORDER
Represents sorting by index order.
Public fieldStatic memberRELEVANCE
Represents sorting by computed relevance. Using this sort criteria returns the same results as calling {@link Searcher#Search(Query) Searcher#search()}without a sort criteria, only with slightly more overhead.

See Also