Class EdgeNGramTokenFilter
Generates n-grams of the given size(s) starting from the front or the back of an input token. This token filter is implemented using Apache Lucene.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class EdgeNGramTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
Constructors
EdgeNGramTokenFilter(String)
Initializes a new instance of EdgeNGramTokenFilter.
Declaration
public EdgeNGramTokenFilter (string name);
Parameters
System.String
name
The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters. |
Properties
MaxGram
The maximum n-gram length. Default is 2.
Declaration
public Nullable<int> MaxGram { get; set; }
Property Value
System.Nullable<System.Int32>
|
MinGram
The minimum n-gram length. Default is 1. Must be less than the value of maxGram.
Declaration
public Nullable<int> MinGram { get; set; }
Property Value
System.Nullable<System.Int32>
|
Side
Specifies which side of the input the n-gram should be generated from. Default is Front.
Declaration
public Nullable<Azure.Search.Documents.Indexes.Models.EdgeNGramTokenFilterSide> Side { get; set; }
Property Value
System.Nullable<EdgeNGramTokenFilterSide>
|