Apache Lucene.Net 2.4.0 Class Library API

SortField.AUTO Field

Guess type of sort based on field contents. A regular expression is used to look at the first term indexed for the field and determine if it represents an integer number, a floating point number, or just arbitrary string characters.

public const int AUTO = 2;

See Also

SortField Class | Lucene.Net.Search Namespace