Apache Lucene.Net 2.1 Class Library API

Sort.SetSort Method

Sets the sort to the given criteria.

Overload List

Sets the sort to the given criteria.

public virtual void SetSort(SortField);

Sets the sort to the given criteria in succession.

public virtual void SetSort(SortField[]);

Sets the sort to the terms in

field
then by index order (document number).

public void SetSort(string);

Sets the sort to the terms in

field
possibly in reverse, then by index order (document number).

public virtual void SetSort(string,bool);

Sets the sort to the terms in each field in succession.

public virtual void SetSort(string[]);

See Also

Sort Class | Lucene.Net.Search Namespace