The Sort type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Sort()()()() | 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.
| |
| Sort(String) | Obsolete. Sorts by the terms in field field | |
| Sort(array<String>[]()[][]) | Obsolete. Sorts in succession by the terms in each field. The type of value in
field | |
| Sort(SortField) | Sorts by the criteria in the given SortField. | |
| Sort(array<SortField>[]()[][]) | Sorts in succession by the criteria in each SortField. | |
| Sort(String, Boolean) | Obsolete. Sorts possibly in reverse by the terms in field field |
Methods
| Name | Description | |
|---|---|---|
| Equals | Returns true if (Overrides Object..::..Equals(Object).)o | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Returns a hash code value for this object. (Overrides Object..::..GetHashCode()()()().) | |
| GetSort | Representation of the sort criteria. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetSort(String) | Obsolete. Sets the sort to the terms in field | |
| SetSort(array<String>[]()[][]) | Obsolete. Sets the sort to the terms in each field in succession. | |
| SetSort(SortField) | Sets the sort to the given criteria. | |
| SetSort(array<SortField>[]()[][]) | Sets the sort to the given criteria in succession. | |
| SetSort(String, Boolean) | Obsolete. Sets the sort to the terms in field | |
| ToString | (Overrides Object..::..ToString()()()().) |
Fields
| Name | Description | |
|---|---|---|
| INDEXORDER | Represents sorting by index order. | |
| RELEVANCE | Represents sorting by computed relevance. Using this sort criteria returns
the same results as calling
{@link Searcher#Search(Query) Searcher#search()}without a sort criteria,
only with slightly more overhead.
|