AppSearchSchema.DocumentPropertyConfig.Builder.SetShouldIndexNestedProperties 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 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).
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.