## Uses of Class
org.apache.lucene.search.FieldComparator

Packages that use FieldComparator
org.apache.lucene.search: Code to search indices.

Uses of FieldComparator in org.apache.lucene.search

Subclasses of FieldComparator in org.apache.lucene.search
`static class` `FieldComparator.ByteComparator` Parses field's values as byte (using `FieldCache.getBytes(org.apache.lucene.index.IndexReader, java.lang.String)` and sorts by ascending value
`static class` `FieldComparator.DocComparator` Sorts by ascending docID
`static class` `FieldComparator.DoubleComparator` Parses field's values as double (using `FieldCache.getDoubles(org.apache.lucene.index.IndexReader, java.lang.String)` and sorts by ascending value
`static class` `FieldComparator.FloatComparator` Parses field's values as float (using `FieldCache.getFloats(org.apache.lucene.index.IndexReader, java.lang.String)` and sorts by ascending value
`static class` `FieldComparator.IntComparator` Parses field's values as int (using `FieldCache.getInts(org.apache.lucene.index.IndexReader, java.lang.String)` and sorts by ascending value
`static class` `FieldComparator.LongComparator` Parses field's values as long (using `FieldCache.getLongs(org.apache.lucene.index.IndexReader, java.lang.String)` and sorts by ascending value
`static class` `FieldComparator.NumericComparator<T extends Number>`
`static class` `FieldComparator.RelevanceComparator` Sorts by descending relevance.
`static class` `FieldComparator.ShortComparator` Parses field's values as short (using `FieldCache.getShorts(org.apache.lucene.index.IndexReader, java.lang.String)` and sorts by ascending value
`static class` `FieldComparator.StringComparatorLocale` Sorts by a field's value using the Collator for a given Locale.
`static class` `FieldComparator.StringOrdValComparator` Sorts by field's natural String sort order, using ordinals.
`static class` `FieldComparator.StringValComparator` Sorts by field's natural String sort order.

Fields in org.apache.lucene.search declared as FieldComparator
`protected FieldComparator<?>[]` `FieldValueHitQueue.comparators`

Methods in org.apache.lucene.search that return FieldComparator
`FieldComparator<?>` `SortField.getComparator(int numHits, int sortPos)` Returns the `FieldComparator` to use for sorting.
`FieldComparator<?>[]` `FieldValueHitQueue.getComparators()`
`abstract FieldComparator<?>` `FieldComparatorSource.newComparator(String fieldname, int numHits, int sortPos, boolean reversed)` Creates a comparator for the field in the given index.