Apache Lucene.Net 2.4.0 Class Library API

SortField.GetType Method 

Returns the type of contents in the field.

new public virtual int GetType();

Return Value

One of the constants SCORE, DOC, AUTO, STRING, INT or FLOAT.

See Also

SortField Class | Lucene.Net.Search Namespace