AppSearchSchema.StringPropertyConfig.Builder.SetTokenizerType(Int32) Method
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.
Configures how this property should be tokenized (split into words).
[Android.Runtime.Register("setTokenizerType", "(I)Landroid/app/appsearch/AppSearchSchema$StringPropertyConfig$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.AppSearchSchema.StringPropertyConfig.Builder SetTokenizerType(int tokenizerType);
[<Android.Runtime.Register("setTokenizerType", "(I)Landroid/app/appsearch/AppSearchSchema$StringPropertyConfig$Builder;", "", ApiSince=31)>]
member this.SetTokenizerType : int -> Android.App.AppSearch.AppSearchSchema.StringPropertyConfig.Builder
Parameters
- tokenizerType
- Int32
Value is one of the following: AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_NONE AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_PLAIN AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_VERBATIM AppSearchSchema.StringPropertyConfig.TOKENIZER_TYPE_RFC822
Returns
- Attributes
Remarks
Configures how this property should be tokenized (split into words). If this method is not called, the default indexing type is StringPropertyConfig.TOKENIZER_TYPE_NONE, so that it is not tokenized. This method must be called with a value other than StringPropertyConfig.TOKENIZER_TYPE_NONE if the property is indexed (that is, if setIndexingType(int) has been called with a value other than StringPropertyConfig.INDEXING_TYPE_NONE ).
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.