Share via


StandardAnalyzer Constructors

Definition

Overloads

StandardAnalyzer()

Initializes a new instance of the StandardAnalyzer class.

StandardAnalyzer(String, Nullable<Int32>, IList<String>)

Initializes a new instance of the StandardAnalyzer class.

StandardAnalyzer()

Source:
StandardAnalyzer.cs

Initializes a new instance of the StandardAnalyzer class.

public StandardAnalyzer ();
Public Sub New ()

Applies to

StandardAnalyzer(String, Nullable<Int32>, IList<String>)

Source:
StandardAnalyzer.cs

Initializes a new instance of the StandardAnalyzer class.

public StandardAnalyzer (string name, int? maxTokenLength = default, System.Collections.Generic.IList<string> stopwords = default);
new Microsoft.Azure.Search.Models.StandardAnalyzer : string * Nullable<int> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Search.Models.StandardAnalyzer
Public Sub New (name As String, Optional maxTokenLength As Nullable(Of Integer) = Nothing, Optional stopwords As IList(Of String) = Nothing)

Parameters

name
String

The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.

maxTokenLength
Nullable<Int32>

The maximum token length. Default is 255. Tokens longer than the maximum length are split. The maximum token length that can be used is 300 characters.

stopwords
IList<String>

A list of stopwords.

Applies to