语言

AppSearchSchema.StringPropertyConfig.TokenizerTypePlain 字段

定义

注意

This constant will be removed in the future version. Use Android.App.AppSearch.TokenizerType enum directly instead of this field.

纯文本的标记化。

[Android.Runtime.Register("TOKENIZER_TYPE_PLAIN", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.AppSearch.TokenizerType enum directly instead of this field.", true)]
public const Android.App.AppSearch.TokenizerType TokenizerTypePlain = 1;
[<Android.Runtime.Register("TOKENIZER_TYPE_PLAIN", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.AppSearch.TokenizerType enum directly instead of this field.", true)>]
val mutable TokenizerTypePlain : Android.App.AppSearch.TokenizerType

字段值

Value = 1
特性

注解

纯文本的标记化。 此值指示应基于断字符从此属性中提取令牌。 空格和标点符号段不被视为标记。

例如,具有“foo bar”的属性。 baz. 将生成“foo”、“bar”和“baz”的令牌。 段“和”.“将不被视为标记。

只有tokenizer_type为“PLAIN”(如果#getIndexingType#INDEXING_TYPE_EXACT_TERMS为或#INDEXING_TYPE_PREFIXES)才有效。

Java文档android.app.appsearch.AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于