SearchModelFactory.LuceneStandardAnalyzer Method
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.
Standard Apache Lucene analyzer; Composed of the standard tokenizer, lowercase filter and stop filter.
public static Azure.Search.Documents.Indexes.Models.LuceneStandardAnalyzer LuceneStandardAnalyzer(string name = default, int? maxTokenLength = default, System.Collections.Generic.IEnumerable<string> stopwords = default);
static member LuceneStandardAnalyzer : string * Nullable<int> * seq<string> -> Azure.Search.Documents.Indexes.Models.LuceneStandardAnalyzer
Public Shared Function LuceneStandardAnalyzer (Optional name As String = Nothing, Optional maxTokenLength As Nullable(Of Integer) = Nothing, Optional stopwords As IEnumerable(Of String) = Nothing) As LuceneStandardAnalyzer
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.
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
- IEnumerable<String>
A list of stopwords.
Returns
A new LuceneStandardAnalyzer instance for mocking.