Share via


SearchSpec.TermMatchExactOnly Field

Definition

Caution

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

Query terms will only match exact tokens in the index.

[Android.Runtime.Register("TERM_MATCH_EXACT_ONLY", ApiSince=31)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.AppSearch.SearchTermMatch enum directly instead of this field.", true)]
public const Android.App.AppSearch.SearchTermMatch TermMatchExactOnly = 1;
[<Android.Runtime.Register("TERM_MATCH_EXACT_ONLY", ApiSince=31)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.AppSearch.SearchTermMatch enum directly instead of this field.", true)>]
val mutable TermMatchExactOnly : Android.App.AppSearch.SearchTermMatch

Field Value

Value = 1

Implements

Attributes

Remarks

Query terms will only match exact tokens in the index.

For example, a query term "foo" will only match indexed token "foo", and not "foot" or "football".

Java documentation for android.app.appsearch.SearchSpec.TERM_MATCH_EXACT_ONLY.

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