SearchModelFactory.StopAnalyzer(String, IEnumerable<String>) Method

Definition

Divides text at non-letters; Applies the lowercase and stopword token filters. This analyzer is implemented using Apache Lucene.

public static Azure.Search.Documents.Indexes.Models.StopAnalyzer StopAnalyzer(string name = default, System.Collections.Generic.IEnumerable<string> stopwords = default);
static member StopAnalyzer : string * seq<string> -> Azure.Search.Documents.Indexes.Models.StopAnalyzer
Public Shared Function StopAnalyzer (Optional name As String = Nothing, Optional stopwords As IEnumerable(Of String) = Nothing) As StopAnalyzer

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.

stopwords
IEnumerable<String>

A list of stopwords.

Returns

A new StopAnalyzer instance for mocking.

Applies to