public class Suggester extends Object implements Serializable, Cloneable
Configuration information for a search suggester. Each suggester has a unique
name and specifies the text field you want to use for suggestions. The
following options can be configured for a suggester:
FuzzyMatching
, SortExpression
.
Constructor and Description |
---|
Suggester() |
Modifier and Type | Method and Description |
---|---|
Suggester |
clone() |
boolean |
equals(Object obj) |
DocumentSuggesterOptions |
getDocumentSuggesterOptions() |
String |
getSuggesterName() |
int |
hashCode() |
void |
setDocumentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions) |
void |
setSuggesterName(String suggesterName) |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Suggester |
withDocumentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions) |
Suggester |
withSuggesterName(String suggesterName) |
public void setSuggesterName(String suggesterName)
suggesterName
- public String getSuggesterName()
public Suggester withSuggesterName(String suggesterName)
suggesterName
- public void setDocumentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions)
documentSuggesterOptions
- public DocumentSuggesterOptions getDocumentSuggesterOptions()
public Suggester withDocumentSuggesterOptions(DocumentSuggesterOptions documentSuggesterOptions)
documentSuggesterOptions
- public String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.