public class ESearchAutoSuggestion extends Object
ESearchAutoSuggestion represents a single alternate spelling suggestion made
by the MDEX Engine when a record search is performed. A list of
ESearchAutoSuggestion objects can be obtained from
ESearchReport.getAutoSuggestions().| Modifier and Type | Method and Description |
|---|---|
boolean |
didSuggestionIncludeAutomaticPhrasing()
Determines whether this suggestion includes one or more
contiguous subsequences of terms that were phrased by
the Automatic Phrasing feature of the Endeca
MDEX Engine.
|
boolean |
didSuggestionIncludeSpellingCorrection()
Determines whether this suggestion includes
one or more terms that were spell-corrected by
the Spelling Correction feature of the Endeca MDEX
Engine.
|
String |
getTerms()
Returns the terms for the spelling suggestion.
|
public String getTerms()
public boolean didSuggestionIncludeSpellingCorrection()
true if the terms were spell-corrected,
or false otherwise.public boolean didSuggestionIncludeAutomaticPhrasing()
true if the terms were auto-phrased,
or false otherwise.© 2003, 2017, Oracle and/or its affiliates. All rights reserved.
Oracle and/or its affiliates Confidential