Uses of Class
org.apache.lucene.search.suggest.document.TopSuggestDocs
-
Uses of TopSuggestDocs in org.apache.lucene.search.suggest.document
Modifier and TypeFieldDescriptionstatic final TopSuggestDocs
TopSuggestDocs.EMPTY
Singleton for emptyTopSuggestDocs
Modifier and TypeMethodDescriptionTopSuggestDocsCollector.get()
Returns at mostnum
Top scoringTopSuggestDocs
sstatic TopSuggestDocs
TopSuggestDocs.merge
(int topN, TopSuggestDocs[] shardHits) Returns a new TopSuggestDocs, containing topN results across the provided TopSuggestDocs, sorting by score.SuggestIndexSearcher.suggest
(CompletionQuery query, int n, boolean skipDuplicates) Returns topn
completion hits forquery
Modifier and TypeMethodDescriptionstatic TopSuggestDocs
TopSuggestDocs.merge
(int topN, TopSuggestDocs[] shardHits) Returns a new TopSuggestDocs, containing topN results across the provided TopSuggestDocs, sorting by score.