Package | Description |
---|---|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
Modifier and Type | Field and Description |
---|---|
static TopSuggestDocs |
TopSuggestDocs.EMPTY
Singleton for empty
TopSuggestDocs |
Modifier and Type | Method and Description |
---|---|
TopSuggestDocs |
TopSuggestDocsCollector.get()
Returns at most
num Top scoring TopSuggestDocs s |
static TopSuggestDocs |
TopSuggestDocs.merge(int topN,
TopSuggestDocs[] shardHits)
Returns a new TopSuggestDocs, containing topN results across
the provided TopSuggestDocs, sorting by score.
|
TopSuggestDocs |
SuggestIndexSearcher.suggest(CompletionQuery query,
int n,
boolean skipDuplicates)
Returns top
n completion hits for
query |
Modifier and Type | Method and Description |
---|---|
static TopSuggestDocs |
TopSuggestDocs.merge(int topN,
TopSuggestDocs[] shardHits)
Returns a new TopSuggestDocs, containing topN results across
the provided TopSuggestDocs, sorting by score.
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.