다음을 통해 공유


Suggester Constructors

Definition

Overloads

Suggester()

Initializes a new instance of the Suggester class.

Suggester(String, IList<String>)

Initializes a new instance of the Suggester class.

Suggester(String, String[])

Initializes a new instance of the Suggester class with required arguments.

Suggester()

Source:
Suggester.cs

Initializes a new instance of the Suggester class.

public Suggester ();
Public Sub New ()

Applies to

Suggester(String, IList<String>)

Source:
Suggester.cs

Initializes a new instance of the Suggester class.

public Suggester (string name, System.Collections.Generic.IList<string> sourceFields);
new Microsoft.Azure.Search.Models.Suggester : string * System.Collections.Generic.IList<string> -> Microsoft.Azure.Search.Models.Suggester
Public Sub New (name As String, sourceFields As IList(Of String))

Parameters

name
String

The name of the suggester.

sourceFields
IList<String>

The list of field names to which the suggester applies. Each field must be searchable.

Applies to

Suggester(String, String[])

Source:
Suggester.Customization.cs

Initializes a new instance of the Suggester class with required arguments.

public Suggester (string name, params string[] sourceFields);
new Microsoft.Azure.Search.Models.Suggester : string * string[] -> Microsoft.Azure.Search.Models.Suggester
Public Sub New (name As String, ParamArray sourceFields As String())

Parameters

name
String

The name of the suggester.

sourceFields
String[]

The list of field names to which the suggester applies; Each field must be searchable.

Applies to