Encapsulates sort criteria for returned hits.
A Sort can be created with an empty constructor, yielding an object that will instruct searches to return their hits sorted by relevance; or it can be created with one or more [ ]s.
lucene 1.4
Sorts by computed relevance. This is the same sort criteria as calling without a sort criteria, only with slightly more overhead.
Returns true if o is equal to this.
o
Returns a hash code value for this object.
Returns true if the relevance score is needed to sort documents.
Rewrites the SortFields in this Sort, returning a new Sort if any of the fields changes during their rewriting.