Class TruncateTokenFilter
Truncates the terms to a specific length. This token filter is implemented using Apache Lucene.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Search.Documents.dll
Syntax
public class TruncateTokenFilter : Azure.Search.Documents.Indexes.Models.TokenFilter
Constructors
TruncateTokenFilter(String)
Initializes a new instance of TruncateTokenFilter.
Declaration
public TruncateTokenFilter (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
Length
The length at which terms will be truncated. Default and maximum is 300.
Declaration
public Nullable<int> Length { get; set; }
Property Value
System.Nullable<System.Int32>
|