Android.App.AppSearch 命名空間

類別

名稱 Description
AppSearchAccount

封裝了一個 GenericDocument 表示 android.accounts.Account。

AppSearchAccount.Builder

的建造類別。AppSearchAccount

AppSearchBatchResult

提供涵蓋多份文件的 AppSearch 批次操作結果。

AppSearchBatchResult.Builder

物件建 AppSearchBatchResult 構器。

AppSearchBlobHandle

一個用來代表 AppSearch 中 blob 的識別碼。

AppSearchBlobHandle.InterfaceConsts
AppSearchManager

提供系統維護的集中式 AppSearch 索引存取。

AppSearchManager.SearchContext

包含如何建立搜尋會話的資訊。

AppSearchManager.SearchContext.Builder

SearchContext 物件建構器。

AppSearchResult

關於 AppSearch 通話成功或失敗的資訊。

AppSearchSchema

針對特定文件類型的 AppSearch 架構。

AppSearchSchema.BlobHandlePropertyConfig

文件中屬性 AppSearchBlobHandle 的設定。

AppSearchSchema.BlobHandlePropertyConfig.Builder

Builder for BlobHandlePropertyConfig.

AppSearchSchema.BooleanPropertyConfig

包含布林值的屬性配置。

AppSearchSchema.BooleanPropertyConfig.Builder

Builder for BooleanPropertyConfig。

AppSearchSchema.Builder

建構者 AppSearchSchema objects。

AppSearchSchema.BytesPropertyConfig

為包含位元組陣列的屬性設定。

AppSearchSchema.BytesPropertyConfig.Builder

BytesPropertyConfig 建構器。

AppSearchSchema.DocumentPropertyConfig

包含另一份文件的屬性設定。

AppSearchSchema.DocumentPropertyConfig.Builder

DocumentPropertyConfig 的建構者。

AppSearchSchema.DoublePropertyConfig

配置包含雙精度十進位數的性質。

AppSearchSchema.DoublePropertyConfig.Builder

DoublePropertyConfig 建構者。

AppSearchSchema.EmbeddingPropertyConfig

文件中屬性 EmbeddingVector 的設定。

AppSearchSchema.EmbeddingPropertyConfig.Builder

EmbeddingPropertyConfig 建構者。

AppSearchSchema.InterfaceConsts
AppSearchSchema.LongPropertyConfig

為包含 64 位元整數的屬性設定。

AppSearchSchema.LongPropertyConfig.Builder

LongPropertyConfig 的建構工具。

AppSearchSchema.PropertyConfig

文件中單一屬性(欄位)的常見配置。

AppSearchSchema.StringPropertyConfig

文件中 String 型態屬性的設定。

AppSearchSchema.StringPropertyConfig.Builder

StringPropertyConfig 的建構者。

AppSearchSession

提供連接單一 AppSearch 資料庫的連線。

CommitBlobResponse

回應以提供批次操作結果 。AppSearchSession#commitBlob

CommitBlobResponse.InterfaceConsts
EmbeddingVector

嵌入是資料的向量表示方式,如文字、影像和音訊,可由機器學習模型產生並用於語意搜尋。

EmbeddingVector.InterfaceConsts
EnterpriseGlobalSearchSession

提供連結至所有企業(工作設定檔)AppSearch 資料庫,查詢應用程式已獲授權存取。

GenericDocument

代表文件單元。

GenericDocument.Builder

的建造類別。GenericDocument

GetByDocumentIdRequest

封裝從資料庫中依命名空間與 ID AppSearchSession 檢索文件的請求。

GetByDocumentIdRequest.Builder

物件建 GetByDocumentIdRequest 構器。

GetByDocumentIdRequest.InterfaceConsts
GetSchemaResponse

響應類別 AppSearchSession#getSchema

GetSchemaResponse.Builder

物件建 GetSchemaResponse 構器。

GetSchemaResponse.InterfaceConsts
GlobalSearchSession

提供連結至查詢應用程式已授權存取的所有 AppSearch 資料庫。

JoinSpec

此類別代表搜尋中連接操作的規範。

JoinSpec.Builder

建構者 JoinSpec objects。

JoinSpec.InterfaceConsts
Migrator

一個可以從不同版本翻譯 GenericDocument 的遷移類別 AppSearchSchema

OpenBlobForReadResponse

回應以提供批次操作結果 。AppSearchSession#openBlobForRead

OpenBlobForReadResponse.InterfaceConsts
OpenBlobForWriteResponse

回應以提供批次操作結果 。AppSearchSession#openBlobForWrite

OpenBlobForWriteResponse.InterfaceConsts
PackageIdentifier

此類別代表一個唯一可識別的套件。

PropertyPath

代表從 AppSearch 資料庫中搜尋回傳的屬性路徑。

PropertyPath.PathSegment

PropertyPath 的一段,包含該屬性名稱及該屬性的 0 索引。

PutDocumentsRequest

封裝將文件索引到 AppSearchSession 資料庫的請求。

PutDocumentsRequest.Builder

物件建 PutDocumentsRequest 構器。

RemoveBlobResponse

的結果 AppSearchSession#removeBlob,包含移除每個把柄的結果。

RemoveBlobResponse.InterfaceConsts
RemoveByDocumentIdRequest

封裝依命名空間與 ID AppSearchSession 從資料庫中移除文件的請求。

RemoveByDocumentIdRequest.Builder

物件建 RemoveByDocumentIdRequest 構器。

RemoveByDocumentIdRequest.InterfaceConsts
ReportSystemUsageRequest

一個請求從系統介面表面回報另一個應用程式擁有的文件使用情況。

ReportSystemUsageRequest.Builder

物件建 ReportSystemUsageRequest 構器。

ReportUsageRequest

一個報告文件使用情況的請求。

ReportUsageRequest.Builder

物件建 ReportUsageRequest 構器。

ReportUsageRequest.InterfaceConsts
SchemaVisibilityConfig

一個用來儲存所有必要可見性資訊的類別,這些資訊對應於同一架構。

SchemaVisibilityConfig.Builder

的 SchemaVisibilityConfig建造類別。

SchemaVisibilityConfig.InterfaceConsts
SearchResult

此類別代表 AppSearch 查詢結果之一。

SearchResult.Builder

物件建 SearchResult 構器。

SearchResult.EmbeddingMatchInfo

此類別代表任何可能來自 SearchResults 嵌入查詢的片段的匹配物件。

SearchResult.EmbeddingMatchInfo.InterfaceConsts
SearchResult.InterfaceConsts
SearchResult.MatchInfo

此類別代表查詢中可能存在 SearchResults 的任何片段的匹配物件。

SearchResult.MatchInfo.Builder

MatchInfo 物件建構工具。

SearchResult.MatchInfo.InterfaceConsts
SearchResult.MatchRange

類別提供文字匹配資訊的位置範圍。

SearchResult.MatchRange.InterfaceConsts
SearchResult.TextMatchInfo

此類別代表任何字串查詢中可能存在 SearchResults 的文字匹配片段的匹配物件。

SearchResult.TextMatchInfo.InterfaceConsts
SearchResults

封裝搜尋操作的結果。

SearchSpec

此類別代表 AppSearch 的規格邏輯。

SearchSpec.Builder

建構者 SearchSpec objects。

SearchSpec.InterfaceConsts
SearchSuggestionResult

結果類別 AppSearchSession#searchSuggestion。

SearchSuggestionResult.Builder

建造者類別。SearchSuggestionResult

SearchSuggestionResult.InterfaceConsts
SearchSuggestionSpec

此類別代表 AppSearch 的規格邏輯。

SearchSuggestionSpec.Builder

建構者 SearchSuggestionSpec objects。

SearchSuggestionSpec.InterfaceConsts
SetBlobVisibilityRequest

請求在 AppSearch 中設定 blobs 的可見性設定。

SetBlobVisibilityRequest.Builder

物件建 SetBlobVisibilityRequest 構器。

SetSchemaRequest

封裝了更新資料庫結構 AppSearchSession 的請求。

SetSchemaRequest.Builder

物件建 SetSchemaRequest 構器。

SetSchemaResponse

響應類別 AppSearchSession#setSchema

SetSchemaResponse.Builder

物件建 SetSchemaResponse 構器。

SetSchemaResponse.InterfaceConsts
SetSchemaResponse.MigrationFailure

該類別代表一個遷移後 GenericDocument 未被 AppSearchSession#setSchema保存的類別。

SetSchemaResponse.MigrationFailure.InterfaceConsts
StorageInfo

響應類 。AppSearchSession#getStorageInfo

StorageInfo.Builder

物件建 StorageInfo 構器。

StorageInfo.InterfaceConsts

介面

名稱 Description
IBatchResultCallback

回調介面以返回 AppSearchBatchResult。

列舉

名稱 Description
AppSearchIndexingType
AppSearchQuantizationType
AppSearchResultCode
AppSearchSchemaDeletePropagationType
Cardinality
EmbeddingSearchMetricType
GroupingType
IndexingType
JoinSpecAggregationScoring
LongPropertyConfigIndexingType
RankingStrategy
SchemaRequestPermissions
SearchOrder
SearchTermMatch
StringPropertyJoinableValueType
SuggestionRankingStrategy
TokenizerType