你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

Suggester interface

Defines how the Suggest API should apply to a group of fields in the index.

Properties

name

The name of the suggester.

searchMode

A value indicating the capabilities of the suggester.

sourceFields

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[]