Apache Lucene.Net 2.4.0 Class Library API

Sort Members

Sort overview

Public Static Fields

INDEXORDERRepresents sorting by index order.
RELEVANCE 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.

Public Instance Constructors

Sort Overloaded. Initializes a new instance of the Sort class.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetSort Representation of the sort criteria.
GetType (inherited from Object)Gets the Type of the current instance.
SetSortOverloaded. Sets the sort to the terms in
field
then by index order (document number).
ToString 

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Sort Class | Lucene.Net.Search Namespace