Language

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

Returns

Attributes

Remarks

Configures whether properties in the nested document should be indexed according to that document's schema. If false, the nested document's properties are not indexed regardless of its own 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