다음을 통해 공유


AppSearchSchema.StringPropertyConfig.TokenizerTypeVerbatim Field

Definition

Caution

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

This value indicates that no normalization or segmentation should be applied to string values that are tokenized using this type.

[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

Field Value

Value = 2
Attributes

Remarks

This value indicates that no normalization or segmentation should be applied to string values that are tokenized using this type. Therefore, the output token is equivalent to the raw string value.

For example, a property with "Hello, world!" will produce the token "Hello, world!", preserving punctuation and capitalization, and not creating separate tokens between the space.

It is only valid for tokenizer_type to be 'VERBATIM' if #getIndexingType is #INDEXING_TYPE_EXACT_TERMS or #INDEXING_TYPE_PREFIXES.

Java documentation for android.app.appsearch.AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_VERBATIM.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to