Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Class and Description |
---|---|
static class |
FieldComparator.DocComparator
Sorts by ascending docID
|
static class |
FieldComparator.DoubleComparator
Parses field's values as double (using
LeafReader.getNumericDocValues(java.lang.String) and sorts by ascending value |
static class |
FieldComparator.FloatComparator
Parses field's values as float (using
LeafReader.getNumericDocValues(String) and sorts by ascending value |
static class |
FieldComparator.IntComparator
Parses field's values as int (using
LeafReader.getNumericDocValues(String) and sorts by ascending value |
static class |
FieldComparator.LongComparator
Parses field's values as long (using
LeafReader.getNumericDocValues(String) and sorts by ascending value |
static class |
FieldComparator.NumericComparator<T extends Number>
Base FieldComparator class for numeric types
|
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.DocComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
FieldComparator.TermOrdValComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
FieldComparator.TermValComparator.getLeafComparator(LeafReaderContext context) |
LeafFieldComparator |
SimpleFieldComparator.getLeafComparator(LeafReaderContext context) |
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.