Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.comparators |
Comparators, used to compare hits so as to determine their
sort order when collecting the top results with
TopFieldCollector . |
Modifier and Type | Class and Description |
---|---|
static class |
FieldComparator.RelevanceComparator
Sorts by descending relevance.
|
static class |
FieldComparator.TermOrdValComparator
Sorts by field's natural Term sort order, using
ordinals.
|
static class |
FieldComparator.TermValComparator
Sorts by field's natural Term sort order.
|
class |
SimpleFieldComparator<T>
Base
FieldComparator implementation that is used for all contexts. |
Modifier and Type | Method and Description |
---|---|
LeafFieldComparator[] |
FieldValueHitQueue.getComparators(LeafReaderContext context) |
abstract LeafFieldComparator |
FieldComparator.getLeafComparator(LeafReaderContext context)
Get a per-segment
LeafFieldComparator to collect the given
LeafReaderContext . |
LeafFieldComparator |
FieldComparator.RelevanceComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
FieldComparator.TermOrdValComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
FieldComparator.TermValComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
SimpleFieldComparator.getLeafComparator(LeafReaderContext context) |
Modifier and Type | Class and Description |
---|---|
class |
DoubleComparator.DoubleLeafComparator
Leaf comparator for
DoubleComparator that provides skipping functionality |
class |
FloatComparator.FloatLeafComparator
Leaf comparator for
FloatComparator that provides skipping functionality |
class |
IntComparator.IntLeafComparator
Leaf comparator for
IntComparator that provides skipping functionality |
class |
LongComparator.LongLeafComparator
Leaf comparator for
LongComparator that provides skipping functionality |
class |
NumericComparator.NumericLeafComparator
Leaf comparator for
NumericComparator that provides skipping functionality |
Modifier and Type | Method and Description |
---|---|
LeafFieldComparator |
DoubleComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
FloatComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
DocComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
LongComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
IntComparator.getLeafComparator(LeafReaderContext context) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.