Class LengthTokenFilter
Removes words that are too long or too short. This token filter is implemented using Apache Lucene.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class LengthTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
Constructors
LengthTokenFilter(String)
Initializes a new instance of LengthTokenFilter.
Declaration
public LengthTokenFilter (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. |
Exceptions
System.ArgumentNullException
|
Properties
MaxLength
Gets the maximum length in characters. Default and maximum is 300.
Declaration
public Nullable<int> MaxLength { get; set; }
Property Value
System.Nullable<System.Int32>
|
MinLength
Gets the minimum length in characters. Default is 0. Maximum is 300. Must be less than the value of MinLength.
Declaration
public Nullable<int> MinLength { get; set; }
Property Value
System.Nullable<System.Int32>
|