| 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 TopSuggestDocss |
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(String field,
CharSequence key,
int num)
Calls
SuggestIndexSearcher.suggest(String, CharSequence, int, Filter)
with no document filter |
TopSuggestDocs |
SuggestIndexSearcher.suggest(String field,
CharSequence key,
int num,
Filter filter)
Suggests at most
num documents filtered by filter
that completes to key for a suggest field |
| 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-2015 Apache Software Foundation. All Rights Reserved.