Språk

AppSearchSchema.DocumentPropertyConfig.Builder.SetShouldIndexNestedProperties Method

Definition

Configures whether properties in the nested document should be indexed according to that document's schema.

[Android.Runtime.Register("setShouldIndexNestedProperties", "(Z)Landroid/app/appsearch/AppSearchSchema$DocumentPropertyConfig$Builder;", "", ApiSince=31)]
public Android.App.AppSearch.AppSearchSchema.DocumentPropertyConfig.Builder SetShouldIndexNestedProperties(bool indexNestedProperties);
[<Android.Runtime.Register("setShouldIndexNestedProperties", "(Z)Landroid/app/appsearch/AppSearchSchema$DocumentPropertyConfig$Builder;", "", ApiSince=31)>]
member this.SetShouldIndexNestedProperties : bool -> Android.App.AppSearch.AppSearchSchema.DocumentPropertyConfig.Builder

Parameters

indexNestedProperties
Boolean

Whether indexing of nested properties is enabled in this configuration.

Returns

This builder instance.

Attributes

Remarks

Configures whether properties in the nested document should be indexed according to that document's schema. If false, nested properties are not automatically indexed according to that schema. To index a subset of properties from the nested document, set this to false and use addIndexableNestedProperties(Collection).

Android reference for android.app.appsearch.AppSearchSchema.DocumentPropertyConfig.Builder.setShouldIndexNestedProperties.

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