DotLucene 1.4 API Documentation |

# SortField Constructor

Creates a sort by terms in the given Field where the type of term value is determined dynamically ({@link .AUTO AUTO}).

#### Overload List

Creates a sort by terms in the given Field where the type of term value is determined dynamically ({@link .AUTO AUTO}).

> public SortField(string);

Creates a sort with a custom comparison function.

> public SortField(string,SortComparatorSource);

Creates a sort, possibly in reverse, with a custom comparison function.

> public SortField(string,SortComparatorSource,bool);

Creates a sort, possibly in reverse, by terms in the given Field where the type of term value is determined dynamically ({@link .AUTO AUTO}).

> public SortField(string,bool);

Creates a sort by terms in the given Field sorted according to the given locale.

> public SortField(string,CultureInfo);

Creates a sort, possibly in reverse, by terms in the given Field sorted according to the given locale.

> public SortField(string,CultureInfo,bool);

Creates a sort by terms in the given Field with the type of term values explicitly given.

> public SortField(string,int);

Creates a sort, possibly in reverse, by terms in the given Field with the type of term values explicitly given.

> public SortField(string,int,bool);

#### See Also

SortField Class | Lucene.Net.Search Namespace