AppSearchSchema.StringPropertyConfig.TokenizerTypePlain Field
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.
Caution
This constant will be removed in the future version. Use Android.App.AppSearch.TokenizerType enum directly instead of this field.
Tokenization for plain text.
[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
Field Value
Value = 1- Attributes
Remarks
Tokenization for plain text. This value indicates that tokens should be extracted from this property based on word breaks. Segments of whitespace and punctuation are not considered tokens.
For example, a property with "foo bar. baz." will produce tokens for "foo", "bar" and "baz". The segments " " and "." will not be considered tokens.
It is only valid for tokenizer_type to be 'PLAIN' if #getIndexingType
is #INDEXING_TYPE_EXACT_TERMS
or #INDEXING_TYPE_PREFIXES
.
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.