AppSearchSchema.DocumentPropertyConfig

public static final class AppSearchSchema.DocumentPropertyConfig
extends AppSearchSchema.PropertyConfig

java.lang.Object
   ↳ androidx.appsearch.app.AppSearchSchema.PropertyConfig
     ↳ androidx.appsearch.app.AppSearchSchema.DocumentPropertyConfig


Configuration for a property containing another Document.

Summary

Nested classes

class AppSearchSchema.DocumentPropertyConfig.Builder

Builder for AppSearchSchema.DocumentPropertyConfig

Inherited constants

Public methods

String getSchemaType()

Returns the logical schema-type of the contents of this document property.

boolean shouldIndexNestedProperties()

Returns whether fields in the nested document should be indexed according to that document's schema.

Inherited methods

Public methods

getSchemaType

public String getSchemaType ()

Returns the logical schema-type of the contents of this document property.

Returns
String

shouldIndexNestedProperties

public boolean shouldIndexNestedProperties ()

Returns whether fields 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.

Returns
boolean