Package | Description |
---|---|
gate.creole.annic.apache.lucene.search |
Modifier and Type | Field and Description |
---|---|
static ScoreDocComparator |
ScoreDocComparator.INDEXORDER
Special comparator for sorting hits according to index order (document number).
|
static ScoreDocComparator |
ScoreDocComparator.RELEVANCE
Special comparator for sorting hits according to computed relevance (document score).
|
Modifier and Type | Method and Description |
---|---|
ScoreDocComparator |
SortComparator.newComparator(IndexReader reader,
String fieldname) |
ScoreDocComparator |
SortComparatorSource.newComparator(IndexReader reader,
String fieldname)
Creates a comparator for the field in the given index.
|
Copyright © 2023 GATE. All rights reserved.