Uses of Class
org.apache.lucene.search.FieldComparator
Packages that use FieldComparator
Package
Description
The logical representation of a
Document
for indexing and
searching.Queries that compute score based upon a function.
Code to search indices.
Comparators, used to compare hits so as to determine their sort order when collecting the top
results with
TopFieldCollector
.Grouping.
Support for index-time and query-time joins.
Lucene field & query support for the spatial geometry implemented in
org.apache.lucene.spatial3d.geom
.-
Uses of FieldComparator in org.apache.lucene.document
Subclasses of FieldComparator in org.apache.lucene.documentModifier and TypeClassDescription(package private) class
Parses a feature field's values as float and sorts by descending value(package private) class
Compares documents by distance from an origin point(package private) class
Compares documents by distance from an origin pointMethods in org.apache.lucene.document that return FieldComparatorModifier and TypeMethodDescriptionFeatureSortField.getComparator
(int numHits, boolean enableSkipping) LatLonPointSortField.getComparator
(int numHits, boolean enableSkipping) XYPointSortField.getComparator
(int numHits, boolean enableSkipping) -
Uses of FieldComparator in org.apache.lucene.queries.function
Subclasses of FieldComparator in org.apache.lucene.queries.functionModifier and TypeClassDescription(package private) class
Implement aFieldComparator
that works off of theFunctionValues
for a ValueSource instead of the normal Lucene FieldComparator that works off of a FieldCache.Methods in org.apache.lucene.queries.function that return FieldComparatorModifier and TypeMethodDescriptionValueSource.ValueSourceComparatorSource.newComparator
(String fieldname, int numHits, boolean enableSkipping, boolean reversed) -
Uses of FieldComparator in org.apache.lucene.search
Subclasses of FieldComparator in org.apache.lucene.searchModifier and TypeClassDescriptionstatic final class
Sorts by descending relevance.static class
Sorts by field's natural Term sort order, using ordinals.static class
Sorts by field's natural Term sort order.class
BaseFieldComparator
implementation that is used for all contexts.Fields in org.apache.lucene.search declared as FieldComparatorModifier and TypeFieldDescriptionprotected final FieldComparator<?>[]
FieldValueHitQueue.comparators
(package private) final FieldComparator<?>[]
TopDocs.MergeSortQueue.comparators
(package private) final FieldComparator<?>
TopFieldCollector.firstComparator
private final FieldComparator<?>
FieldValueHitQueue.OneComparatorFieldValueHitQueue.oneComparator
Methods in org.apache.lucene.search that return FieldComparatorModifier and TypeMethodDescriptionSortedNumericSortField.getComparator
(int numHits, boolean enableSkipping) SortedSetSortField.getComparator
(int numHits, boolean enableSkipping) SortField.getComparator
(int numHits, boolean enableSkipping) Returns theFieldComparator
to use for sorting.FieldComparator<?>[]
FieldValueHitQueue.getComparators()
DoubleValuesSource.DoubleValuesComparatorSource.newComparator
(String fieldname, int numHits, boolean enableSkipping, boolean reversed) abstract FieldComparator<?>
FieldComparatorSource.newComparator
(String fieldname, int numHits, boolean enableSkipping, boolean reversed) Creates a comparator for the field in the given index.LongValuesSource.LongValuesComparatorSource.newComparator
(String fieldname, int numHits, boolean enableSkipping, boolean reversed) -
Uses of FieldComparator in org.apache.lucene.search.comparators
Subclasses of FieldComparator in org.apache.lucene.search.comparatorsModifier and TypeClassDescriptionclass
Comparator that sorts by asc _docclass
Comparator based onDouble.compare(double, double)
fornumHits
.class
Comparator based onFloat.compare(float, float)
fornumHits
.class
Comparator based onInteger.compare(int, int)
fornumHits
.class
Comparator based onLong.compare(long, long)
fornumHits
.class
NumericComparator<T extends Number>
Abstract numeric comparator for comparing numeric values. -
Uses of FieldComparator in org.apache.lucene.search.grouping
Fields in org.apache.lucene.search.grouping declared as FieldComparatorModifier and TypeFieldDescription(package private) final FieldComparator[]
AllGroupHeadsCollector.SortingGroupHead.comparators
private final FieldComparator<?>[]
BlockGroupingCollector.comparators
private final FieldComparator<?>[]
FirstPassGroupingCollector.comparators
final FieldComparator[]
SearchGroup.GroupComparator.comparators
-
Uses of FieldComparator in org.apache.lucene.search.join
Methods in org.apache.lucene.search.join that return FieldComparatorModifier and TypeMethodDescriptionToParentBlockJoinSortField.getComparator
(int numHits, boolean enableSkipping) private FieldComparator<?>
ToParentBlockJoinSortField.getDoubleComparator
(int numHits) private FieldComparator<?>
ToParentBlockJoinSortField.getFloatComparator
(int numHits) private FieldComparator<?>
ToParentBlockJoinSortField.getIntComparator
(int numHits) private FieldComparator<?>
ToParentBlockJoinSortField.getLongComparator
(int numHits) private FieldComparator<?>
ToParentBlockJoinSortField.getStringComparator
(int numHits) -
Uses of FieldComparator in org.apache.lucene.spatial3d
Subclasses of FieldComparator in org.apache.lucene.spatial3dModifier and TypeClassDescription(package private) class
Compares documents by distance from an origin point, using a GeoDistanceShape to compute the distance(package private) class
Compares documents by outside distance, using a GeoOutsideDistance to compute the distanceMethods in org.apache.lucene.spatial3d that return FieldComparatorModifier and TypeMethodDescriptionGeo3DPointOutsideSortField.getComparator
(int numHits, boolean enableSkipping) Geo3DPointSortField.getComparator
(int numHits, boolean enableSkipping)