语言

AppSearchSchema.StringPropertyConfig.TokenizerTypeVerbatim 字段

定义

注意

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_VERBATIM", ApiSince=34)]
[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 TokenizerTypeVerbatim = 2;
[<Android.Runtime.Register("TOKENIZER_TYPE_VERBATIM", ApiSince=34)>]
[<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 TokenizerTypeVerbatim : Android.App.AppSearch.TokenizerType

字段值

Value = 2
特性

注解

此值指示不应将规范化或分段应用于使用此类型进行标记的字符串值。 因此,输出令牌等效于原始字符串值。

例如,具有“Hello, world!” 的属性 将生成令牌“Hello, world!”,保留标点符号和大写,并且不会在空间之间创建单独的标记。

如果#getIndexingType#INDEXING_TYPE_EXACT_TERMS为或#INDEXING_TYPE_PREFIXES,则只有tokenizer_type“VERBATIM”才有效。

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

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

适用于