語言

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 才是「逐字照本」的。

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於