TruncateTokenFilter Class
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.
Truncates the terms to a specific length. This token filter is implemented using Apache Lucene. http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/TruncateTokenFilter.html
[Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.TruncateTokenFilter")]
public class TruncateTokenFilter : Microsoft.Azure.Search.Models.TokenFilter
[<Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.TruncateTokenFilter")>]
type TruncateTokenFilter = class
inherit TokenFilter
Public Class TruncateTokenFilter
Inherits TokenFilter
- Inheritance
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Truncate |
Initializes a new instance of the TruncateTokenFilter class. |
Truncate |
Initializes a new instance of the TruncateTokenFilter class. |
Length |
Gets or sets the length at which terms will be truncated. Default and maximum is 300. |
Name |
Gets or sets 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. (Inherited from TokenFilter) |
Validate() |
Validate the object. |
Продукт | Версії |
---|---|
Azure SDK for .NET | Legacy |
Відгук про Azure SDK for .NET
Azure SDK for .NET – це проект із відкритим кодом. Виберіть посилання, щоб надати відгук: