androidx.appsearch.app
Annotations
ExperimentalAppSearchApi |
Indicates that an AppSearch api is unstable. |
Interfaces
AppSearchSession |
Provides a connection to a single AppSearch database. |
DocumentClassFactory |
An interface for factories which can convert between instances of classes annotated with \@ |
EnterpriseGlobalSearchSession |
Provides a connection to all enterprise (work profile) AppSearch databases the querying application has been granted access to. |
Features |
A class that encapsulates all features that are only supported in certain cases (e.g. only on certain implementations or only at a certain Android API Level). |
GlobalSearchSession |
Provides a connection to all AppSearch databases the querying application has been granted access to. |
LongSerializer |
Serializes some |
SearchResults |
Encapsulates results of a search operation. |
StringSerializer |
Serializes some |
Classes
AppSearchBatchResult |
Provides results for AppSearch batch operations which encompass multiple documents. |
AppSearchBatchResult.Builder |
Builder for |
AppSearchDocumentClassMap |
A class that maintains the map from schema type names to the fully qualified names of the corresponding document classes. |
AppSearchResult |
Information about the success or failure of an AppSearch call. |
AppSearchSchema |
The AppSearch Schema for a particular type of document. |
AppSearchSchema.BooleanPropertyConfig |
Configuration for a property containing a boolean. |
AppSearchSchema.BooleanPropertyConfig.Builder |
Builder for |
AppSearchSchema.Builder |
Builder for |
AppSearchSchema.BytesPropertyConfig |
Configuration for a property containing a byte array. |
AppSearchSchema.BytesPropertyConfig.Builder |
Builder for |
AppSearchSchema.DocumentPropertyConfig |
Configuration for a property containing another Document. |
AppSearchSchema.DocumentPropertyConfig.Builder |
Builder for |
AppSearchSchema.DoublePropertyConfig |
Configuration for a property containing a double-precision decimal number. |
AppSearchSchema.DoublePropertyConfig.Builder |
Builder for |
AppSearchSchema.EmbeddingPropertyConfig |
Configuration for a property of type |
AppSearchSchema.EmbeddingPropertyConfig.Builder |
Builder for |
AppSearchSchema.LongPropertyConfig |
Configuration for a property containing a 64-bit integer. |
AppSearchSchema.LongPropertyConfig.Builder |
Builder for |
AppSearchSchema.PropertyConfig |
Common configuration for a single property (field) in a Document. |
AppSearchSchema.StringPropertyConfig |
Configuration for a property of type String in a Document. |
AppSearchSchema.StringPropertyConfig.Builder |
Builder for |
EmbeddingVector |
Embeddings are vector representations of data, such as text, images, and audio, which can be generated by machine learning models and used for semantic search. |
GenericDocument |
Represents a document unit. |
GenericDocument.Builder |
The builder class for |
GetByDocumentIdRequest |
Encapsulates a request to retrieve documents by namespace and IDs from the |
GetByDocumentIdRequest.Builder |
Builder for |
GetSchemaResponse |
The response class of |
GetSchemaResponse.Builder |
Builder for |
JoinSpec |
This class represents the specifications for the joining operation in search. |
JoinSpec.Builder |
Builder for |
Migrator |
A migrator class to translate |
PackageIdentifier |
This class represents a uniquely identifiable package. |
PropertyPath |
Represents a property path returned from searching the AppSearch Database. |
PropertyPath.PathSegment |
A segment of a PropertyPath, which includes the name of the property and a 0-based index into this property. |
PutDocumentsRequest |
Encapsulates a request to index documents into an |
PutDocumentsRequest.Builder |
Builder for |
RemoveByDocumentIdRequest |
Encapsulates a request to remove documents by namespace and IDs from the |
RemoveByDocumentIdRequest.Builder |
Builder for |
ReportSystemUsageRequest |
A request to report usage of a document owned by another app from a system UI surface. |
ReportSystemUsageRequest.Builder |
Builder for |
ReportUsageRequest |
A request to report usage of a document. |
ReportUsageRequest.Builder |
Builder for |
SchemaVisibilityConfig |
A class to hold a all necessary Visibility information corresponding to the same schema. |
SchemaVisibilityConfig.Builder |
The builder class of |
SearchResult |
This class represents one of the results obtained from an AppSearch query. |
SearchResult.Builder |
Builder for |
SearchResult.MatchInfo |
This class represents match objects for any snippets that might be present in |
SearchResult.MatchInfo.Builder |
Builder for |
SearchResult.MatchRange |
Class providing the position range of matching information. |
SearchSpec |
This class represents the specification logic for AppSearch. |
SearchSpec.Builder |
Builder for |
SearchSuggestionResult |
The result class of the |
SearchSuggestionResult.Builder |
The Builder class of |
SearchSuggestionSpec |
This class represents the specification logic for AppSearch. |
SearchSuggestionSpec.Builder |
Builder for |
SetSchemaRequest |
Encapsulates a request to update the schema of an |
SetSchemaRequest.Builder |
Builder for |
SetSchemaResponse |
The response class of |
SetSchemaResponse.Builder |
Builder for |
SetSchemaResponse.MigrationFailure |
The class represents a post-migrated |
ShortcutAdapter |
Util methods for Document <-> shortcut conversion. |
StorageInfo |
The response class of |
StorageInfo.Builder |
Builder for |