SearchSuggester interface
Defines how the Suggest API should apply to a group of fields in the index.
Properties
name | The name of the suggester. |
search |
A value indicating the capabilities of the suggester. |
source |
The list of field names to which the suggester applies. Each field must be searchable. |
Property Details
name
The name of the suggester.
name: string
Property Value
string
searchMode
A value indicating the capabilities of the suggester.
searchMode: "analyzingInfixMatching"
Property Value
"analyzingInfixMatching"
sourceFields
The list of field names to which the suggester applies. Each field must be searchable.
sourceFields: string[]
Property Value
string[]