androidx.appsearch.annotation


Classes

Annotations

Document

Marks a class as an entity known to AppSearch containing a data record.

Document.BooleanProperty

Configures a boolean member field of a class as a property known to AppSearch.

Document.BuilderProducer

Marks a static method or a builder class directly as a builder producer.

Document.BytesProperty

Configures a byte array member field of a class as a property known to AppSearch.

Document.CreationTimestampMillis

Marks a member field of a document as the document's creation timestamp.

Document.DocumentProperty

Configures a member field of a class as a property known to AppSearch.

Document.DoubleProperty

Configures a double-precision decimal number field of a class as a property known to AppSearch.

Document.EmbeddingProperty

Configures an EmbeddingVector field of a class as a property known to AppSearch.

Document.Id

Marks a member field of a document as the document's unique identifier (ID).

Document.LongProperty

Configures a 64-bit integer field of a class as a property known to AppSearch.

Document.Namespace

Marks a member field of a document as the document's namespace.

Document.Score

Marks a member field of a document as the document's query-independent score.

Document.StringProperty

Configures a string member field of a class as a property known to AppSearch.

Document.TtlMillis

Marks a member field of a document as the document's time-to-live (TTL).