Suggester Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for