The SortField type exposes the following members.
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.) | |
| GetComparator | Returns the {@link FieldComparator} to use for
sorting.
NOTE: This API is experimental and might change in
incompatible ways in the next release.
| |
| GetComparatorSource | ||
| GetFactory | Obsolete. | |
| GetField | Returns the name of the field. Could return null | |
| GetHashCode | Returns true if (Overrides Object..::..GetHashCode()()()().)o | |
| GetLocale | Returns the Locale by which term values are interpreted.
May return null | |
| GetParser | Returns the instance of a {@link FieldCache} parser that fits to the given sort type.
May return null | |
| GetReverse | Returns whether the sort should be reversed. | |
| GetType | Returns the type of contents in the field. | |
| GetUseLegacySearch | Obsolete. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetUseLegacySearch | Obsolete. Use legacy IndexSearch implementation: search with a DirectoryReader rather
than passing a single hit collector to multiple SegmentReaders.
| |
| ToString | (Overrides Object..::..ToString()()()().) |