Apache Lucene.Net 2.4.0 Class Library API

SortField Methods

The methods of the SortField class are listed below. For a complete list of SortField class members, see the SortField Members topic.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetFactory 
GetFieldReturns the name of the field. Could return
null
if the sort is by SCORE or DOC.
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.
GetLocaleReturns the Locale by which term values are interpreted. May return
null
if no Locale was specified.
GetReverseReturns whether the sort should be reversed.
GetTypeReturns the type of contents in the field.
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

SortField Class | Lucene.Net.Search Namespace |