WordDelimiterTokenFilter Class
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.
Splits words into subwords and performs optional transformations on subword groups. This token filter is implemented using Apache Lucene. http://lucene.apache.org/core/4_10_3/analyzers-common/org/apache/lucene/analysis/miscellaneous/WordDelimiterFilter.html
[Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.WordDelimiterTokenFilter")]
public class WordDelimiterTokenFilter : Microsoft.Azure.Search.Models.TokenFilter
[<Newtonsoft.Json.JsonObject("#Microsoft.Azure.Search.WordDelimiterTokenFilter")>]
type WordDelimiterTokenFilter = class
inherit TokenFilter
Public Class WordDelimiterTokenFilter
Inherits TokenFilter
- Inheritance
- Attributes
-
Newtonsoft.Json.JsonObjectAttribute
Constructors
WordDelimiterTokenFilter() |
Initializes a new instance of the WordDelimiterTokenFilter class. |
WordDelimiterTokenFilter(String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, IList<String>) |
Initializes a new instance of the WordDelimiterTokenFilter class. |
Properties
CatenateAll |
Gets or sets a value indicating whether all subword parts will be catenated. For example, if this is set to true, "Azure-Search-1" becomes "AzureSearch1". Default is false. |
CatenateNumbers |
Gets or sets a value indicating whether maximum runs of number parts will be catenated. For example, if this is set to true, "1-2" becomes "12". Default is false. |
CatenateWords |
Gets or sets a value indicating whether maximum runs of word parts will be catenated. For example, if this is set to true, "Azure-Search" becomes "AzureSearch". Default is false. |
GenerateNumberParts |
Gets or sets a value indicating whether to generate number subwords. Default is true. |
GenerateWordParts |
Gets or sets a value indicating whether to generate part words. If set, causes parts of words to be generated; for example "AzureSearch" becomes "Azure" "Search". Default is true. |
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) |
PreserveOriginal |
Gets or sets a value indicating whether original words will be preserved and added to the subword list. Default is false. |
ProtectedWords |
Gets or sets a list of tokens to protect from being delimited. |
SplitOnCaseChange |
Gets or sets a value indicating whether to split words on caseChange. For example, if this is set to true, "AzureSearch" becomes "Azure" "Search". Default is true. |
SplitOnNumerics |
Gets or sets a value indicating whether to split on numbers. For example, if this is set to true, "Azure1Search" becomes "Azure" "1" "Search". Default is true. |
StemEnglishPossessive |
Gets or sets a value indicating whether to remove trailing "'s" for each subword. Default is true. |
Methods
Validate() |
Validate the object. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應