DotLucene 1.4 API Documentation |

# Sort Constructor

Sorts by computed relevance. This is the same sort criteria as calling {@link Searcher.Search(Query) Searcher.search()} without a sort criteria, only with slightly more overhead.

#### Overload List

Sorts by computed relevance. This is the same sort criteria as calling {@link Searcher.Search(Query) Searcher.search()} without a sort criteria, only with slightly more overhead.

> public Sort();

Sorts by the criteria in the given SortField.

> public Sort(SortField);

Sorts in succession by the criteria in each SortField.

> public Sort(SortField[]);

Sorts by the terms in `Field` then by index order (document number). The type of value in `Field` is determined automatically.

> public Sort(string);

Sorts possibly in reverse by the terms in `Field` then by index order (document number). The type of value in `Field` is determined automatically.

> public Sort(string,bool);

Sorts in succession by the terms in each Field. The type of value in `Field` is determined automatically.

> public Sort(string[]);

#### See Also

Sort Class | Lucene.Net.Search Namespace