Package org.opensearch.search.suggest.phrase
package org.opensearch.search.suggest.phrase
Suggests alternate queries by breaking the query into terms and suggesting terms that are frequently found together.
-
ClassDescriptionBase class for phrase candidatesCorrection in phrase suggesterGenerates the phrase directly from the IndexReaderCandidate termCandidate set of termsToken consumer for a direct candidateBuilder for a phrase candidate directly retrieved from an IndexReaderAn additive smoothing model.Linear interpolation based scoringLinear interpolation smoothing model.Wrapper for a multi-candidate generatorPhrase suggestion implementationSuggestion entry returned from the
PhraseSuggester
.Entry in the phrase suggesterOptions for phrase suggestionDefines the actual suggest command for phrase suggestions (phrase
).PhraseSuggestionBuilder.CandidateGenerator
interface.Smooths the scoring calculationA "stupid-backoff" smoothing model similar to Katz's Backoff.Scores by wordsFactory for a new scorer