diff --git a/apis/docs/v1/docs.md b/apis/docs/v1/docs.md index 5d27307831..e0a8cde5e7 100644 --- a/apis/docs/v1/docs.md +++ b/apis/docs/v1/docs.md @@ -1,1977 +1,1377 @@ # Protocol Documentation + ## Table of Contents - [v1/payload/payload.proto](#v1_payload_payload-proto) - - [Control](#payload-v1-Control) - - [Control.CreateIndexRequest](#payload-v1-Control-CreateIndexRequest) - - [Discoverer](#payload-v1-Discoverer) - - [Discoverer.Request](#payload-v1-Discoverer-Request) - - [Empty](#payload-v1-Empty) - - [Filter](#payload-v1-Filter) - - [Filter.Config](#payload-v1-Filter-Config) - - [Filter.Target](#payload-v1-Filter-Target) - - [Flush](#payload-v1-Flush) - - [Flush.Request](#payload-v1-Flush-Request) - - [Info](#payload-v1-Info) - - [Info.Annotations](#payload-v1-Info-Annotations) - - [Info.Annotations.AnnotationsEntry](#payload-v1-Info-Annotations-AnnotationsEntry) - - [Info.CPU](#payload-v1-Info-CPU) - - [Info.IPs](#payload-v1-Info-IPs) - - [Info.Index](#payload-v1-Info-Index) - - [Info.Index.Count](#payload-v1-Info-Index-Count) - - [Info.Index.Detail](#payload-v1-Info-Index-Detail) - - [Info.Index.Detail.CountsEntry](#payload-v1-Info-Index-Detail-CountsEntry) - - [Info.Index.Property](#payload-v1-Info-Index-Property) - - [Info.Index.PropertyDetail](#payload-v1-Info-Index-PropertyDetail) - - [Info.Index.PropertyDetail.DetailsEntry](#payload-v1-Info-Index-PropertyDetail-DetailsEntry) - - [Info.Index.Statistics](#payload-v1-Info-Index-Statistics) - - [Info.Index.StatisticsDetail](#payload-v1-Info-Index-StatisticsDetail) - - [Info.Index.StatisticsDetail.DetailsEntry](#payload-v1-Info-Index-StatisticsDetail-DetailsEntry) - - [Info.Index.UUID](#payload-v1-Info-Index-UUID) - - [Info.Index.UUID.Committed](#payload-v1-Info-Index-UUID-Committed) - - [Info.Index.UUID.Uncommitted](#payload-v1-Info-Index-UUID-Uncommitted) - - [Info.Labels](#payload-v1-Info-Labels) - - [Info.Labels.LabelsEntry](#payload-v1-Info-Labels-LabelsEntry) - - [Info.Memory](#payload-v1-Info-Memory) - - [Info.Node](#payload-v1-Info-Node) - - [Info.Nodes](#payload-v1-Info-Nodes) - - [Info.Pod](#payload-v1-Info-Pod) - - [Info.Pods](#payload-v1-Info-Pods) - - [Info.Service](#payload-v1-Info-Service) - - [Info.ServicePort](#payload-v1-Info-ServicePort) - - [Info.Services](#payload-v1-Info-Services) - - [Insert](#payload-v1-Insert) - - [Insert.Config](#payload-v1-Insert-Config) - - [Insert.MultiObjectRequest](#payload-v1-Insert-MultiObjectRequest) - - [Insert.MultiRequest](#payload-v1-Insert-MultiRequest) - - [Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) - - [Insert.Request](#payload-v1-Insert-Request) - - [Meta](#payload-v1-Meta) - - [Meta.Key](#payload-v1-Meta-Key) - - [Meta.KeyValue](#payload-v1-Meta-KeyValue) - - [Meta.Value](#payload-v1-Meta-Value) - - [Mirror](#payload-v1-Mirror) - - [Mirror.Target](#payload-v1-Mirror-Target) - - [Mirror.Targets](#payload-v1-Mirror-Targets) - - [Object](#payload-v1-Object) - - [Object.Blob](#payload-v1-Object-Blob) - - [Object.Distance](#payload-v1-Object-Distance) - - [Object.ID](#payload-v1-Object-ID) - - [Object.IDs](#payload-v1-Object-IDs) - - [Object.List](#payload-v1-Object-List) - - [Object.List.Request](#payload-v1-Object-List-Request) - - [Object.List.Response](#payload-v1-Object-List-Response) - - [Object.Location](#payload-v1-Object-Location) - - [Object.Locations](#payload-v1-Object-Locations) - - [Object.ReshapeVector](#payload-v1-Object-ReshapeVector) - - [Object.StreamBlob](#payload-v1-Object-StreamBlob) - - [Object.StreamDistance](#payload-v1-Object-StreamDistance) - - [Object.StreamLocation](#payload-v1-Object-StreamLocation) - - [Object.StreamVector](#payload-v1-Object-StreamVector) - - [Object.Timestamp](#payload-v1-Object-Timestamp) - - [Object.TimestampRequest](#payload-v1-Object-TimestampRequest) - - [Object.Vector](#payload-v1-Object-Vector) - - [Object.VectorRequest](#payload-v1-Object-VectorRequest) - - [Object.Vectors](#payload-v1-Object-Vectors) - - [Remove](#payload-v1-Remove) - - [Remove.Config](#payload-v1-Remove-Config) - - [Remove.MultiRequest](#payload-v1-Remove-MultiRequest) - - [Remove.Request](#payload-v1-Remove-Request) - - [Remove.Timestamp](#payload-v1-Remove-Timestamp) - - [Remove.TimestampRequest](#payload-v1-Remove-TimestampRequest) - - [Search](#payload-v1-Search) - - [Search.Config](#payload-v1-Search-Config) - - [Search.IDRequest](#payload-v1-Search-IDRequest) - - [Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) - - [Search.MultiObjectRequest](#payload-v1-Search-MultiObjectRequest) - - [Search.MultiRequest](#payload-v1-Search-MultiRequest) - - [Search.ObjectRequest](#payload-v1-Search-ObjectRequest) - - [Search.Request](#payload-v1-Search-Request) - - [Search.Response](#payload-v1-Search-Response) - - [Search.Responses](#payload-v1-Search-Responses) - - [Search.StreamResponse](#payload-v1-Search-StreamResponse) - - [Update](#payload-v1-Update) - - [Update.Config](#payload-v1-Update-Config) - - [Update.MultiObjectRequest](#payload-v1-Update-MultiObjectRequest) - - [Update.MultiRequest](#payload-v1-Update-MultiRequest) - - [Update.ObjectRequest](#payload-v1-Update-ObjectRequest) - - [Update.Request](#payload-v1-Update-Request) - - [Update.TimestampRequest](#payload-v1-Update-TimestampRequest) - - [Upsert](#payload-v1-Upsert) - - [Upsert.Config](#payload-v1-Upsert-Config) - - [Upsert.MultiObjectRequest](#payload-v1-Upsert-MultiObjectRequest) - - [Upsert.MultiRequest](#payload-v1-Upsert-MultiRequest) - - [Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest) - - [Upsert.Request](#payload-v1-Upsert-Request) - - - [Remove.Timestamp.Operator](#payload-v1-Remove-Timestamp-Operator) - - [Search.AggregationAlgorithm](#payload-v1-Search-AggregationAlgorithm) - + + - [Control](#payload-v1-Control) + - [Control.CreateIndexRequest](#payload-v1-Control-CreateIndexRequest) + - [Discoverer](#payload-v1-Discoverer) + - [Discoverer.Request](#payload-v1-Discoverer-Request) + - [Empty](#payload-v1-Empty) + - [Filter](#payload-v1-Filter) + - [Filter.Config](#payload-v1-Filter-Config) + - [Filter.Target](#payload-v1-Filter-Target) + - [Flush](#payload-v1-Flush) + - [Flush.Request](#payload-v1-Flush-Request) + - [Info](#payload-v1-Info) + - [Info.Annotations](#payload-v1-Info-Annotations) + - [Info.Annotations.AnnotationsEntry](#payload-v1-Info-Annotations-AnnotationsEntry) + - [Info.CPU](#payload-v1-Info-CPU) + - [Info.IPs](#payload-v1-Info-IPs) + - [Info.Index](#payload-v1-Info-Index) + - [Info.Index.Count](#payload-v1-Info-Index-Count) + - [Info.Index.Detail](#payload-v1-Info-Index-Detail) + - [Info.Index.Detail.CountsEntry](#payload-v1-Info-Index-Detail-CountsEntry) + - [Info.Index.Property](#payload-v1-Info-Index-Property) + - [Info.Index.PropertyDetail](#payload-v1-Info-Index-PropertyDetail) + - [Info.Index.PropertyDetail.DetailsEntry](#payload-v1-Info-Index-PropertyDetail-DetailsEntry) + - [Info.Index.Statistics](#payload-v1-Info-Index-Statistics) + - [Info.Index.StatisticsDetail](#payload-v1-Info-Index-StatisticsDetail) + - [Info.Index.StatisticsDetail.DetailsEntry](#payload-v1-Info-Index-StatisticsDetail-DetailsEntry) + - [Info.Index.UUID](#payload-v1-Info-Index-UUID) + - [Info.Index.UUID.Committed](#payload-v1-Info-Index-UUID-Committed) + - [Info.Index.UUID.Uncommitted](#payload-v1-Info-Index-UUID-Uncommitted) + - [Info.Labels](#payload-v1-Info-Labels) + - [Info.Labels.LabelsEntry](#payload-v1-Info-Labels-LabelsEntry) + - [Info.Memory](#payload-v1-Info-Memory) + - [Info.Node](#payload-v1-Info-Node) + - [Info.Nodes](#payload-v1-Info-Nodes) + - [Info.Pod](#payload-v1-Info-Pod) + - [Info.Pods](#payload-v1-Info-Pods) + - [Info.Service](#payload-v1-Info-Service) + - [Info.ServicePort](#payload-v1-Info-ServicePort) + - [Info.Services](#payload-v1-Info-Services) + - [Insert](#payload-v1-Insert) + - [Insert.Config](#payload-v1-Insert-Config) + - [Insert.MultiObjectRequest](#payload-v1-Insert-MultiObjectRequest) + - [Insert.MultiRequest](#payload-v1-Insert-MultiRequest) + - [Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) + - [Insert.Request](#payload-v1-Insert-Request) + - [Meta](#payload-v1-Meta) + - [Meta.Key](#payload-v1-Meta-Key) + - [Meta.KeyValue](#payload-v1-Meta-KeyValue) + - [Meta.Value](#payload-v1-Meta-Value) + - [Mirror](#payload-v1-Mirror) + - [Mirror.Target](#payload-v1-Mirror-Target) + - [Mirror.Targets](#payload-v1-Mirror-Targets) + - [Object](#payload-v1-Object) + - [Object.Blob](#payload-v1-Object-Blob) + - [Object.Distance](#payload-v1-Object-Distance) + - [Object.ID](#payload-v1-Object-ID) + - [Object.IDs](#payload-v1-Object-IDs) + - [Object.List](#payload-v1-Object-List) + - [Object.List.Request](#payload-v1-Object-List-Request) + - [Object.List.Response](#payload-v1-Object-List-Response) + - [Object.Location](#payload-v1-Object-Location) + - [Object.Locations](#payload-v1-Object-Locations) + - [Object.ReshapeVector](#payload-v1-Object-ReshapeVector) + - [Object.StreamBlob](#payload-v1-Object-StreamBlob) + - [Object.StreamDistance](#payload-v1-Object-StreamDistance) + - [Object.StreamLocation](#payload-v1-Object-StreamLocation) + - [Object.StreamVector](#payload-v1-Object-StreamVector) + - [Object.Timestamp](#payload-v1-Object-Timestamp) + - [Object.TimestampRequest](#payload-v1-Object-TimestampRequest) + - [Object.Vector](#payload-v1-Object-Vector) + - [Object.VectorRequest](#payload-v1-Object-VectorRequest) + - [Object.Vectors](#payload-v1-Object-Vectors) + - [Remove](#payload-v1-Remove) + - [Remove.Config](#payload-v1-Remove-Config) + - [Remove.MultiRequest](#payload-v1-Remove-MultiRequest) + - [Remove.Request](#payload-v1-Remove-Request) + - [Remove.Timestamp](#payload-v1-Remove-Timestamp) + - [Remove.TimestampRequest](#payload-v1-Remove-TimestampRequest) + - [Search](#payload-v1-Search) + - [Search.Config](#payload-v1-Search-Config) + - [Search.IDRequest](#payload-v1-Search-IDRequest) + - [Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) + - [Search.MultiObjectRequest](#payload-v1-Search-MultiObjectRequest) + - [Search.MultiRequest](#payload-v1-Search-MultiRequest) + - [Search.ObjectRequest](#payload-v1-Search-ObjectRequest) + - [Search.Request](#payload-v1-Search-Request) + - [Search.Response](#payload-v1-Search-Response) + - [Search.Responses](#payload-v1-Search-Responses) + - [Search.StreamResponse](#payload-v1-Search-StreamResponse) + - [Update](#payload-v1-Update) + - [Update.Config](#payload-v1-Update-Config) + - [Update.MultiObjectRequest](#payload-v1-Update-MultiObjectRequest) + - [Update.MultiRequest](#payload-v1-Update-MultiRequest) + - [Update.ObjectRequest](#payload-v1-Update-ObjectRequest) + - [Update.Request](#payload-v1-Update-Request) + - [Update.TimestampRequest](#payload-v1-Update-TimestampRequest) + - [Upsert](#payload-v1-Upsert) + - [Upsert.Config](#payload-v1-Upsert-Config) + - [Upsert.MultiObjectRequest](#payload-v1-Upsert-MultiObjectRequest) + - [Upsert.MultiRequest](#payload-v1-Upsert-MultiRequest) + - [Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest) + - [Upsert.Request](#payload-v1-Upsert-Request) + - [Remove.Timestamp.Operator](#payload-v1-Remove-Timestamp-Operator) + - [Search.AggregationAlgorithm](#payload-v1-Search-AggregationAlgorithm) + - [v1/agent/core/agent.proto](#v1_agent_core_agent-proto) - - [Agent](#core-v1-Agent) - + - [Agent](#core-v1-Agent) - [v1/agent/sidecar/sidecar.proto](#v1_agent_sidecar_sidecar-proto) - - [Sidecar](#sidecar-v1-Sidecar) - + - [Sidecar](#sidecar-v1-Sidecar) - [v1/discoverer/discoverer.proto](#v1_discoverer_discoverer-proto) - - [Discoverer](#discoverer-v1-Discoverer) - + - [Discoverer](#discoverer-v1-Discoverer) - [v1/filter/egress/egress_filter.proto](#v1_filter_egress_egress_filter-proto) - - [Filter](#filter-egress-v1-Filter) - + - [Filter](#filter-egress-v1-Filter) - [v1/filter/ingress/ingress_filter.proto](#v1_filter_ingress_ingress_filter-proto) - - [Filter](#filter-ingress-v1-Filter) - + - [Filter](#filter-ingress-v1-Filter) - [v1/meta/meta.proto](#v1_meta_meta-proto) - - [Meta](#meta-v1-Meta) - + - [Meta](#meta-v1-Meta) - [v1/mirror/mirror.proto](#v1_mirror_mirror-proto) - - [Mirror](#mirror-v1-Mirror) - + - [Mirror](#mirror-v1-Mirror) - [v1/rpc/errdetails/error_details.proto](#v1_rpc_errdetails_error_details-proto) - - [BadRequest](#rpc-v1-BadRequest) - - [BadRequest.FieldViolation](#rpc-v1-BadRequest-FieldViolation) - - [DebugInfo](#rpc-v1-DebugInfo) - - [ErrorInfo](#rpc-v1-ErrorInfo) - - [ErrorInfo.MetadataEntry](#rpc-v1-ErrorInfo-MetadataEntry) - - [Help](#rpc-v1-Help) - - [Help.Link](#rpc-v1-Help-Link) - - [LocalizedMessage](#rpc-v1-LocalizedMessage) - - [PreconditionFailure](#rpc-v1-PreconditionFailure) - - [PreconditionFailure.Violation](#rpc-v1-PreconditionFailure-Violation) - - [QuotaFailure](#rpc-v1-QuotaFailure) - - [QuotaFailure.Violation](#rpc-v1-QuotaFailure-Violation) - - [RequestInfo](#rpc-v1-RequestInfo) - - [ResourceInfo](#rpc-v1-ResourceInfo) - - [RetryInfo](#rpc-v1-RetryInfo) - + - [BadRequest](#rpc-v1-BadRequest) + - [BadRequest.FieldViolation](#rpc-v1-BadRequest-FieldViolation) + - [DebugInfo](#rpc-v1-DebugInfo) + - [ErrorInfo](#rpc-v1-ErrorInfo) + - [ErrorInfo.MetadataEntry](#rpc-v1-ErrorInfo-MetadataEntry) + - [Help](#rpc-v1-Help) + - [Help.Link](#rpc-v1-Help-Link) + - [LocalizedMessage](#rpc-v1-LocalizedMessage) + - [PreconditionFailure](#rpc-v1-PreconditionFailure) + - [PreconditionFailure.Violation](#rpc-v1-PreconditionFailure-Violation) + - [QuotaFailure](#rpc-v1-QuotaFailure) + - [QuotaFailure.Violation](#rpc-v1-QuotaFailure-Violation) + - [RequestInfo](#rpc-v1-RequestInfo) + - [ResourceInfo](#rpc-v1-ResourceInfo) + - [RetryInfo](#rpc-v1-RetryInfo) - [v1/vald/filter.proto](#v1_vald_filter-proto) - - [Filter](#vald-v1-Filter) - + - [Filter](#vald-v1-Filter) - [v1/vald/flush.proto](#v1_vald_flush-proto) - - [Flush](#vald-v1-Flush) - + - [Flush](#vald-v1-Flush) - [v1/vald/index.proto](#v1_vald_index-proto) - - [Index](#vald-v1-Index) - + - [Index](#vald-v1-Index) - [v1/vald/insert.proto](#v1_vald_insert-proto) - - [Insert](#vald-v1-Insert) - + - [Insert](#vald-v1-Insert) - [v1/vald/object.proto](#v1_vald_object-proto) - - [Object](#vald-v1-Object) - + - [Object](#vald-v1-Object) - [v1/vald/remove.proto](#v1_vald_remove-proto) - - [Remove](#vald-v1-Remove) - + - [Remove](#vald-v1-Remove) - [v1/vald/search.proto](#v1_vald_search-proto) - - [Search](#vald-v1-Search) - + - [Search](#vald-v1-Search) - [v1/vald/update.proto](#v1_vald_update-proto) - - [Update](#vald-v1-Update) - + - [Update](#vald-v1-Update) - [v1/vald/upsert.proto](#v1_vald_upsert-proto) - - [Upsert](#vald-v1-Upsert) - + - [Upsert](#vald-v1-Upsert) - [Scalar Value Types](#scalar-value-types) - - +

Top

## v1/payload/payload.proto - - ### Control -Control related messages. - - - - +Control related messages. ### Control.CreateIndexRequest -Represent the create index request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| pool_size | [uint32](#uint32) | | The pool size of the create index operation. | - - - +Represent the create index request. +| Field | Type | Label | Description | +| --------- | ----------------- | ----- | -------------------------------------------- | +| pool_size | [uint32](#uint32) | | The pool size of the create index operation. | ### Discoverer -Discoverer related messages. - - - - +Discoverer related messages. ### Discoverer.Request -Represent the dicoverer request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| name | [string](#string) | | The agent name to be discovered. | -| namespace | [string](#string) | | The namespace to be discovered. | -| node | [string](#string) | | The node to be discovered. | - - - +Represent the dicoverer request. +| Field | Type | Label | Description | +| --------- | ----------------- | ----- | -------------------------------- | +| name | [string](#string) | | The agent name to be discovered. | +| namespace | [string](#string) | | The namespace to be discovered. | +| node | [string](#string) | | The node to be discovered. | ### Empty -Represent an empty message. - - - - +Represent an empty message. ### Filter -Filter related messages. - - - - +Filter related messages. ### Filter.Config -Represent filter configuration. +Represent filter configuration. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| ------- | ------------------------------------------ | -------- | ------------------------------------------ | | targets | [Filter.Target](#payload-v1-Filter-Target) | repeated | Represent the filter target configuration. | - - - - - ### Filter.Target -Represent the target filter server. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| host | [string](#string) | | The target hostname. | -| port | [uint32](#uint32) | | The target port. | - - - +Represent the target filter server. +| Field | Type | Label | Description | +| ----- | ----------------- | ----- | -------------------- | +| host | [string](#string) | | The target hostname. | +| port | [uint32](#uint32) | | The target port. | ### Flush -Flush related messages. - - - - +Flush related messages. ### Flush.Request - - - - - - ### Info -Info related messages. - - - - +Info related messages. ### Info.Annotations + Represent the kubernetes annotations. +| Field | Type | Label | Description | +| ----------- | ---------------------------------------------------------------------------------- | -------- | ----------- | +| annotations | [Info.Annotations.AnnotationsEntry](#payload-v1-Info-Annotations-AnnotationsEntry) | repeated | | -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| annotations | [Info.Annotations.AnnotationsEntry](#payload-v1-Info-Annotations-AnnotationsEntry) | repeated | | + +### Info.Annotations.AnnotationsEntry +| Field | Type | Label | Description | +| ----- | ----------------- | ----- | ----------- | +| key | [string](#string) | | | +| value | [string](#string) | | | + +### Info.CPU +Represent the CPU information message. - +| Field | Type | Label | Description | +| ------- | ----------------- | ----- | --------------------------- | +| limit | [double](#double) | | The CPU resource limit. | +| request | [double](#double) | | The CPU resource requested. | +| usage | [double](#double) | | The CPU usage. | -### Info.Annotations.AnnotationsEntry + +### Info.IPs +Represent the multiple IP message. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| key | [string](#string) | | | -| value | [string](#string) | | | +| Field | Type | Label | Description | +| ----- | ----------------- | -------- | ----------- | +| ip | [string](#string) | repeated | | + +### Info.Index +Represent the index information messages. + +### Info.Index.Count - +Represent the index count message. -### Info.CPU -Represent the CPU information message. +| Field | Type | Label | Description | +| ----------- | ----------------- | ----- | ---------------------------- | +| stored | [uint32](#uint32) | | The stored index count. | +| uncommitted | [uint32](#uint32) | | The uncommitted index count. | +| indexing | [bool](#bool) | | The indexing index count. | +| saving | [bool](#bool) | | The saving index count. | + -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| limit | [double](#double) | | The CPU resource limit. | -| request | [double](#double) | | The CPU resource requested. | -| usage | [double](#double) | | The CPU usage. | +### Info.Index.Detail +Represent the index count for each Agents message. +| Field | Type | Label | Description | +| ----------- | -------------------------------------------------------------------------- | -------- | ---------------------------------- | +| counts | [Info.Index.Detail.CountsEntry](#payload-v1-Info-Index-Detail-CountsEntry) | repeated | count infos for each agents | +| replica | [uint32](#uint32) | | index replica of vald cluster | +| live_agents | [uint32](#uint32) | | live agent replica of vald cluster | + +### Info.Index.Detail.CountsEntry +| Field | Type | Label | Description | +| ----- | ------------------------------------------------ | ----- | ----------- | +| key | [string](#string) | | | +| value | [Info.Index.Count](#payload-v1-Info-Index-Count) | | | - + -### Info.IPs -Represent the multiple IP message. +### Info.Index.Property +Represents index Property -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| ip | [string](#string) | repeated | | +| Field | Type | Label | Description | +| ---------------------------------- | ----------------- | ----- | ----------- | +| dimension | [int32](#int32) | | | +| thread_pool_size | [int32](#int32) | | | +| object_type | [string](#string) | | | +| distance_type | [string](#string) | | | +| index_type | [string](#string) | | | +| database_type | [string](#string) | | | +| object_alignment | [string](#string) | | | +| path_adjustment_interval | [int32](#int32) | | | +| graph_shared_memory_size | [int32](#int32) | | | +| tree_shared_memory_size | [int32](#int32) | | | +| object_shared_memory_size | [int32](#int32) | | | +| prefetch_offset | [int32](#int32) | | | +| prefetch_size | [int32](#int32) | | | +| accuracy_table | [string](#string) | | | +| search_type | [string](#string) | | | +| max_magnitude | [float](#float) | | | +| n_of_neighbors_for_insertion_order | [int32](#int32) | | | +| epsilon_for_insertion_order | [float](#float) | | | +| refinement_object_type | [string](#string) | | | +| truncation_threshold | [int32](#int32) | | | +| edge_size_for_creation | [int32](#int32) | | | +| edge_size_for_search | [int32](#int32) | | | +| edge_size_limit_for_creation | [int32](#int32) | | | +| insertion_radius_coefficient | [double](#double) | | | +| seed_size | [int32](#int32) | | | +| seed_type | [string](#string) | | | +| truncation_thread_pool_size | [int32](#int32) | | | +| batch_size_for_creation | [int32](#int32) | | | +| graph_type | [string](#string) | | | +| dynamic_edge_size_base | [int32](#int32) | | | +| dynamic_edge_size_rate | [int32](#int32) | | | +| build_time_limit | [float](#float) | | | +| outgoing_edge | [int32](#int32) | | | +| incoming_edge | [int32](#int32) | | | + +### Info.Index.PropertyDetail +Represents index Properties for each Agents +| Field | Type | Label | Description | +| ------- | -------------------------------------------------------------------------------------------- | -------- | ----------- | +| details | [Info.Index.PropertyDetail.DetailsEntry](#payload-v1-Info-Index-PropertyDetail-DetailsEntry) | repeated | | + - +### Info.Index.PropertyDetail.DetailsEntry -### Info.Index -Represent the index information messages. +| Field | Type | Label | Description | +| ----- | ------------------------------------------------------ | ----- | ----------- | +| key | [string](#string) | | | +| value | [Info.Index.Property](#payload-v1-Info-Index-Property) | | | + +### Info.Index.Statistics +Represents index Statistics +| Field | Type | Label | Description | +| ------------------------------------ | ----------------- | -------- | ----------- | +| valid | [bool](#bool) | | | +| median_indegree | [int32](#int32) | | | +| median_outdegree | [int32](#int32) | | | +| max_number_of_indegree | [uint64](#uint64) | | | +| max_number_of_outdegree | [uint64](#uint64) | | | +| min_number_of_indegree | [uint64](#uint64) | | | +| min_number_of_outdegree | [uint64](#uint64) | | | +| mode_indegree | [uint64](#uint64) | | | +| mode_outdegree | [uint64](#uint64) | | | +| nodes_skipped_for_10_edges | [uint64](#uint64) | | | +| nodes_skipped_for_indegree_distance | [uint64](#uint64) | | | +| number_of_edges | [uint64](#uint64) | | | +| number_of_indexed_objects | [uint64](#uint64) | | | +| number_of_nodes | [uint64](#uint64) | | | +| number_of_nodes_without_edges | [uint64](#uint64) | | | +| number_of_nodes_without_indegree | [uint64](#uint64) | | | +| number_of_objects | [uint64](#uint64) | | | +| number_of_removed_objects | [uint64](#uint64) | | | +| size_of_object_repository | [uint64](#uint64) | | | +| size_of_refinement_object_repository | [uint64](#uint64) | | | +| variance_of_indegree | [double](#double) | | | +| variance_of_outdegree | [double](#double) | | | +| mean_edge_length | [double](#double) | | | +| mean_edge_length_for_10_edges | [double](#double) | | | +| mean_indegree_distance_for_10_edges | [double](#double) | | | +| mean_number_of_edges_per_node | [double](#double) | | | +| c1_indegree | [double](#double) | | | +| c5_indegree | [double](#double) | | | +| c95_outdegree | [double](#double) | | | +| c99_outdegree | [double](#double) | | | +| indegree_count | [int64](#int64) | repeated | | +| outdegree_histogram | [uint64](#uint64) | repeated | | +| indegree_histogram | [uint64](#uint64) | repeated | | + - +### Info.Index.StatisticsDetail -### Info.Index.Count -Represent the index count message. +Represents index Statistics for each Agents +| Field | Type | Label | Description | +| ------- | ------------------------------------------------------------------------------------------------ | -------- | --------------------------- | +| details | [Info.Index.StatisticsDetail.DetailsEntry](#payload-v1-Info-Index-StatisticsDetail-DetailsEntry) | repeated | count infos for each agents | -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| stored | [uint32](#uint32) | | The stored index count. | -| uncommitted | [uint32](#uint32) | | The uncommitted index count. | -| indexing | [bool](#bool) | | The indexing index count. | -| saving | [bool](#bool) | | The saving index count. | + +### Info.Index.StatisticsDetail.DetailsEntry +| Field | Type | Label | Description | +| ----- | ---------------------------------------------------------- | ----- | ----------- | +| key | [string](#string) | | | +| value | [Info.Index.Statistics](#payload-v1-Info-Index-Statistics) | | | + +### Info.Index.UUID +Represent the UUID message. - + -### Info.Index.Detail -Represent the index count for each Agents message. +### Info.Index.UUID.Committed +The committed UUID. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| counts | [Info.Index.Detail.CountsEntry](#payload-v1-Info-Index-Detail-CountsEntry) | repeated | count infos for each agents | -| replica | [uint32](#uint32) | | index replica of vald cluster | -| live_agents | [uint32](#uint32) | | live agent replica of vald cluster | +| Field | Type | Label | Description | +| ----- | ----------------- | ----- | ----------- | +| uuid | [string](#string) | | | + +### Info.Index.UUID.Uncommitted +The uncommitted UUID. +| Field | Type | Label | Description | +| ----- | ----------------- | ----- | ----------- | +| uuid | [string](#string) | | | + - +### Info.Labels -### Info.Index.Detail.CountsEntry +Represent the kubernetes labels. +| Field | Type | Label | Description | +| ------ | -------------------------------------------------------------- | -------- | ----------- | +| labels | [Info.Labels.LabelsEntry](#payload-v1-Info-Labels-LabelsEntry) | repeated | | + -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| key | [string](#string) | | | -| value | [Info.Index.Count](#payload-v1-Info-Index-Count) | | | +### Info.Labels.LabelsEntry +| Field | Type | Label | Description | +| ----- | ----------------- | ----- | ----------- | +| key | [string](#string) | | | +| value | [string](#string) | | | + +### Info.Memory +Represent the memory information message. +| Field | Type | Label | Description | +| ------- | ----------------- | ----- | --------------------- | +| limit | [double](#double) | | The memory limit. | +| request | [double](#double) | | The memory requested. | +| usage | [double](#double) | | The memory usage. | - + -### Info.Index.Property -Represents index Property +### Info.Node +Represent the node information message. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| dimension | [int32](#int32) | | | -| thread_pool_size | [int32](#int32) | | | -| object_type | [string](#string) | | | -| distance_type | [string](#string) | | | -| index_type | [string](#string) | | | -| database_type | [string](#string) | | | -| object_alignment | [string](#string) | | | -| path_adjustment_interval | [int32](#int32) | | | -| graph_shared_memory_size | [int32](#int32) | | | -| tree_shared_memory_size | [int32](#int32) | | | -| object_shared_memory_size | [int32](#int32) | | | -| prefetch_offset | [int32](#int32) | | | -| prefetch_size | [int32](#int32) | | | -| accuracy_table | [string](#string) | | | -| search_type | [string](#string) | | | -| max_magnitude | [float](#float) | | | -| n_of_neighbors_for_insertion_order | [int32](#int32) | | | -| epsilon_for_insertion_order | [float](#float) | | | -| refinement_object_type | [string](#string) | | | -| truncation_threshold | [int32](#int32) | | | -| edge_size_for_creation | [int32](#int32) | | | -| edge_size_for_search | [int32](#int32) | | | -| edge_size_limit_for_creation | [int32](#int32) | | | -| insertion_radius_coefficient | [double](#double) | | | -| seed_size | [int32](#int32) | | | -| seed_type | [string](#string) | | | -| truncation_thread_pool_size | [int32](#int32) | | | -| batch_size_for_creation | [int32](#int32) | | | -| graph_type | [string](#string) | | | -| dynamic_edge_size_base | [int32](#int32) | | | -| dynamic_edge_size_rate | [int32](#int32) | | | -| build_time_limit | [float](#float) | | | -| outgoing_edge | [int32](#int32) | | | -| incoming_edge | [int32](#int32) | | | +| Field | Type | Label | Description | +| ------------- | -------------------------------------- | ----- | ------------------------------------ | +| name | [string](#string) | | The name of the node. | +| internal_addr | [string](#string) | | The internal IP address of the node. | +| external_addr | [string](#string) | | The external IP address of the node. | +| cpu | [Info.CPU](#payload-v1-Info-CPU) | | The CPU information of the node. | +| memory | [Info.Memory](#payload-v1-Info-Memory) | | The memory information of the node. | +| Pods | [Info.Pods](#payload-v1-Info-Pods) | | The pod information of the node. | + +### Info.Nodes +Represent the multiple node information message. +| Field | Type | Label | Description | +| ----- | ---------------------------------- | -------- | ------------------------------ | +| nodes | [Info.Node](#payload-v1-Info-Node) | repeated | The multiple node information. | + - +### Info.Pod -### Info.Index.PropertyDetail -Represents index Properties for each Agents +Represent the pod information message. +| Field | Type | Label | Description | +| --------- | -------------------------------------- | ----- | ------------------------------------- | +| app_name | [string](#string) | | The app name of the pod on the label. | +| name | [string](#string) | | The name of the pod. | +| namespace | [string](#string) | | The namespace of the pod. | +| ip | [string](#string) | | The IP of the pod. | +| cpu | [Info.CPU](#payload-v1-Info-CPU) | | The CPU information of the pod. | +| memory | [Info.Memory](#payload-v1-Info-Memory) | | The memory information of the pod. | +| node | [Info.Node](#payload-v1-Info-Node) | | The node information of the pod. | -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| details | [Info.Index.PropertyDetail.DetailsEntry](#payload-v1-Info-Index-PropertyDetail-DetailsEntry) | repeated | | + +### Info.Pods +Represent the multiple pod information message. +| Field | Type | Label | Description | +| ----- | -------------------------------- | -------- | ----------------------------- | +| pods | [Info.Pod](#payload-v1-Info-Pod) | repeated | The multiple pod information. | + +### Info.Service - +Represent the service information message. -### Info.Index.PropertyDetail.DetailsEntry +| Field | Type | Label | Description | +| ----------- | ------------------------------------------------ | -------- | ------------------------------- | +| name | [string](#string) | | The name of the svc. | +| cluster_ip | [string](#string) | | The cluster ip of the svc. | +| cluster_ips | [string](#string) | repeated | The cluster ips of the svc. | +| ports | [Info.ServicePort](#payload-v1-Info-ServicePort) | repeated | The port of the svc. | +| labels | [Info.Labels](#payload-v1-Info-Labels) | | The labels of the service. | +| annotations | [Info.Annotations](#payload-v1-Info-Annotations) | | The annotations of the service. | + +### Info.ServicePort -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| key | [string](#string) | | | -| value | [Info.Index.Property](#payload-v1-Info-Index-Property) | | | +Represets the service port information message. +| Field | Type | Label | Description | +| ----- | ----------------- | ----- | --------------------- | +| name | [string](#string) | | The name of the port. | +| port | [int32](#int32) | | The port number | + +### Info.Services +Represent the multiple service information message. +| Field | Type | Label | Description | +| -------- | ---------------------------------------- | -------- | --------------------------------- | +| services | [Info.Service](#payload-v1-Info-Service) | repeated | The multiple service information. | - + -### Info.Index.Statistics -Represents index Statistics +### Insert +Insert related messages. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| valid | [bool](#bool) | | | -| median_indegree | [int32](#int32) | | | -| median_outdegree | [int32](#int32) | | | -| max_number_of_indegree | [uint64](#uint64) | | | -| max_number_of_outdegree | [uint64](#uint64) | | | -| min_number_of_indegree | [uint64](#uint64) | | | -| min_number_of_outdegree | [uint64](#uint64) | | | -| mode_indegree | [uint64](#uint64) | | | -| mode_outdegree | [uint64](#uint64) | | | -| nodes_skipped_for_10_edges | [uint64](#uint64) | | | -| nodes_skipped_for_indegree_distance | [uint64](#uint64) | | | -| number_of_edges | [uint64](#uint64) | | | -| number_of_indexed_objects | [uint64](#uint64) | | | -| number_of_nodes | [uint64](#uint64) | | | -| number_of_nodes_without_edges | [uint64](#uint64) | | | -| number_of_nodes_without_indegree | [uint64](#uint64) | | | -| number_of_objects | [uint64](#uint64) | | | -| number_of_removed_objects | [uint64](#uint64) | | | -| size_of_object_repository | [uint64](#uint64) | | | -| size_of_refinement_object_repository | [uint64](#uint64) | | | -| variance_of_indegree | [double](#double) | | | -| variance_of_outdegree | [double](#double) | | | -| mean_edge_length | [double](#double) | | | -| mean_edge_length_for_10_edges | [double](#double) | | | -| mean_indegree_distance_for_10_edges | [double](#double) | | | -| mean_number_of_edges_per_node | [double](#double) | | | -| c1_indegree | [double](#double) | | | -| c5_indegree | [double](#double) | | | -| c95_outdegree | [double](#double) | | | -| c99_outdegree | [double](#double) | | | -| indegree_count | [int64](#int64) | repeated | | -| outdegree_histogram | [uint64](#uint64) | repeated | | -| indegree_histogram | [uint64](#uint64) | repeated | | + +### Insert.Config +Represent insert configurations. +| Field | Type | Label | Description | +| ----------------------- | ------------------------------------------ | ----- | --------------------------------------------------- | +| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during insert operation. | +| filters | [Filter.Config](#payload-v1-Filter-Config) | | Filter configurations. | +| timestamp | [int64](#int64) | | Insert timestamp. | + +### Insert.MultiObjectRequest - +Represent the multiple insert by binary object request. -### Info.Index.StatisticsDetail -Represents index Statistics for each Agents +| Field | Type | Label | Description | +| -------- | -------------------------------------------------------- | -------- | -------------------------------------------- | +| requests | [Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) | repeated | Represent multiple insert by object content. | + -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| details | [Info.Index.StatisticsDetail.DetailsEntry](#payload-v1-Info-Index-StatisticsDetail-DetailsEntry) | repeated | count infos for each agents | +### Insert.MultiRequest +Represent the multiple insert request. +| Field | Type | Label | Description | +| -------- | -------------------------------------------- | -------- | ------------------------------------------ | +| requests | [Insert.Request](#payload-v1-Insert-Request) | repeated | Represent multiple insert request content. | + +### Insert.ObjectRequest +Represent the insert by binary object request. - +| Field | Type | Label | Description | +| ---------- | ------------------------------------------ | ----- | ---------------------------------------- | +| object | [Object.Blob](#payload-v1-Object-Blob) | | The binary object to be inserted. | +| config | [Insert.Config](#payload-v1-Insert-Config) | | The configuration of the insert request. | +| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter configurations. | -### Info.Index.StatisticsDetail.DetailsEntry + +### Insert.Request +Represent the insert request. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| key | [string](#string) | | | -| value | [Info.Index.Statistics](#payload-v1-Info-Index-Statistics) | | | +| Field | Type | Label | Description | +| ------ | ------------------------------------------ | ----- | ---------------------------------------- | +| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector to be inserted. | +| config | [Insert.Config](#payload-v1-Insert-Config) | | The configuration of the insert request. | + +### Meta + +### Meta.Key +| Field | Type | Label | Description | +| ----- | ----------------- | ----- | ----------- | +| key | [string](#string) | | | - + -### Info.Index.UUID -Represent the UUID message. +### Meta.KeyValue +| Field | Type | Label | Description | +| ----- | ------------------------------------ | ----- | ----------- | +| key | [Meta.Key](#payload-v1-Meta-Key) | | | +| value | [Meta.Value](#payload-v1-Meta-Value) | | | + +### Meta.Value +| Field | Type | Label | Description | +| ----- | ------------------------------------------- | ----- | ----------- | +| value | [google.protobuf.Any](#google-protobuf-Any) | | | + - +### Mirror -### Info.Index.UUID.Committed -The committed UUID. +Mirror related messages. + -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| uuid | [string](#string) | | | +### Mirror.Target +Represent server information. +| Field | Type | Label | Description | +| ----- | ----------------- | ----- | -------------------- | +| host | [string](#string) | | The target hostname. | +| port | [uint32](#uint32) | | The target port. | + +### Mirror.Targets +Represent the multiple Target message. - +| Field | Type | Label | Description | +| ------- | ------------------------------------------ | -------- | -------------------------------- | +| targets | [Mirror.Target](#payload-v1-Mirror-Target) | repeated | The multiple target information. | -### Info.Index.UUID.Uncommitted -The uncommitted UUID. + +### Object -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| uuid | [string](#string) | | | +Common messages. + +### Object.Blob +Represent the binary object. +| Field | Type | Label | Description | +| ------ | ----------------- | ----- | ------------------ | +| id | [string](#string) | | The object ID. | +| object | [bytes](#bytes) | | The binary object. | + - +### Object.Distance -### Info.Labels -Represent the kubernetes labels. +Represent the ID and distance pair. +| Field | Type | Label | Description | +| -------- | ----------------- | ----- | -------------- | +| id | [string](#string) | | The vector ID. | +| distance | [float](#float) | | The distance. | -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| labels | [Info.Labels.LabelsEntry](#payload-v1-Info-Labels-LabelsEntry) | repeated | | + +### Object.ID +Represent the vector ID. +| Field | Type | Label | Description | +| ----- | ----------------- | ----- | ----------- | +| id | [string](#string) | | | + +### Object.IDs - - -### Info.Labels.LabelsEntry - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| key | [string](#string) | | | -| value | [string](#string) | | | - - - - - - - - -### Info.Memory -Represent the memory information message. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| limit | [double](#double) | | The memory limit. | -| request | [double](#double) | | The memory requested. | -| usage | [double](#double) | | The memory usage. | - - - - - - - - -### Info.Node -Represent the node information message. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| name | [string](#string) | | The name of the node. | -| internal_addr | [string](#string) | | The internal IP address of the node. | -| external_addr | [string](#string) | | The external IP address of the node. | -| cpu | [Info.CPU](#payload-v1-Info-CPU) | | The CPU information of the node. | -| memory | [Info.Memory](#payload-v1-Info-Memory) | | The memory information of the node. | -| Pods | [Info.Pods](#payload-v1-Info-Pods) | | The pod information of the node. | - - - - - - - - -### Info.Nodes -Represent the multiple node information message. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| nodes | [Info.Node](#payload-v1-Info-Node) | repeated | The multiple node information. | - - - - - - - - -### Info.Pod -Represent the pod information message. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| app_name | [string](#string) | | The app name of the pod on the label. | -| name | [string](#string) | | The name of the pod. | -| namespace | [string](#string) | | The namespace of the pod. | -| ip | [string](#string) | | The IP of the pod. | -| cpu | [Info.CPU](#payload-v1-Info-CPU) | | The CPU information of the pod. | -| memory | [Info.Memory](#payload-v1-Info-Memory) | | The memory information of the pod. | -| node | [Info.Node](#payload-v1-Info-Node) | | The node information of the pod. | - - - - - - - - -### Info.Pods -Represent the multiple pod information message. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| pods | [Info.Pod](#payload-v1-Info-Pod) | repeated | The multiple pod information. | - - - - - - - - -### Info.Service -Represent the service information message. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| name | [string](#string) | | The name of the svc. | -| cluster_ip | [string](#string) | | The cluster ip of the svc. | -| cluster_ips | [string](#string) | repeated | The cluster ips of the svc. | -| ports | [Info.ServicePort](#payload-v1-Info-ServicePort) | repeated | The port of the svc. | -| labels | [Info.Labels](#payload-v1-Info-Labels) | | The labels of the service. | -| annotations | [Info.Annotations](#payload-v1-Info-Annotations) | | The annotations of the service. | - - - - - - - - -### Info.ServicePort -Represets the service port information message. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| name | [string](#string) | | The name of the port. | -| port | [int32](#int32) | | The port number | - - - - - - - - -### Info.Services -Represent the multiple service information message. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| services | [Info.Service](#payload-v1-Info-Service) | repeated | The multiple service information. | - - - - - - - - -### Insert -Insert related messages. - - - - - - - - -### Insert.Config -Represent insert configurations. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during insert operation. | -| filters | [Filter.Config](#payload-v1-Filter-Config) | | Filter configurations. | -| timestamp | [int64](#int64) | | Insert timestamp. | - - - - - - - - -### Insert.MultiObjectRequest -Represent the multiple insert by binary object request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| requests | [Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) | repeated | Represent multiple insert by object content. | - - - - - - - - -### Insert.MultiRequest -Represent the multiple insert request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| requests | [Insert.Request](#payload-v1-Insert-Request) | repeated | Represent multiple insert request content. | - - - - - - - - -### Insert.ObjectRequest -Represent the insert by binary object request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| object | [Object.Blob](#payload-v1-Object-Blob) | | The binary object to be inserted. | -| config | [Insert.Config](#payload-v1-Insert-Config) | | The configuration of the insert request. | -| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter configurations. | - - - - - - - - -### Insert.Request -Represent the insert request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector to be inserted. | -| config | [Insert.Config](#payload-v1-Insert-Config) | | The configuration of the insert request. | - - - - - - - - -### Meta - - - - - - - - - -### Meta.Key - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| key | [string](#string) | | | - - - - - - - - -### Meta.KeyValue - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| key | [Meta.Key](#payload-v1-Meta-Key) | | | -| value | [Meta.Value](#payload-v1-Meta-Value) | | | - - - - - - - - -### Meta.Value - - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| value | [google.protobuf.Any](#google-protobuf-Any) | | | - - - - - - - - -### Mirror -Mirror related messages. - - - - - - - - -### Mirror.Target -Represent server information. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| host | [string](#string) | | The target hostname. | -| port | [uint32](#uint32) | | The target port. | - - - - - - - - -### Mirror.Targets -Represent the multiple Target message. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| targets | [Mirror.Target](#payload-v1-Mirror-Target) | repeated | The multiple target information. | - - - - - - - - -### Object -Common messages. - - - - - - - - -### Object.Blob -Represent the binary object. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | The object ID. | -| object | [bytes](#bytes) | | The binary object. | - - - - - - - - -### Object.Distance -Represent the ID and distance pair. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | The vector ID. | -| distance | [float](#float) | | The distance. | - - - - - - - - -### Object.ID -Represent the vector ID. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | | - - - - - - - - -### Object.IDs Represent multiple vector IDs. - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| ids | [string](#string) | repeated | | - - - - - +| Field | Type | Label | Description | +| ----- | ----------------- | -------- | ----------- | +| ids | [string](#string) | repeated | | ### Object.List -Represent the list object vector stream request and response. - - - - +Represent the list object vector stream request and response. ### Object.List.Request - - - - - - ### Object.List.Response - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector | -| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. | - - - - - +| Field | Type | Label | Description | +| ------ | ------------------------------------------ | ----- | --------------------- | +| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector | +| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. | ### Object.Location -Represent the vector location. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| name | [string](#string) | | The name of the location. | -| uuid | [string](#string) | | The UUID of the vector. | -| ips | [string](#string) | repeated | The IP list. | - - - +Represent the vector location. +| Field | Type | Label | Description | +| ----- | ----------------- | -------- | ------------------------- | +| name | [string](#string) | | The name of the location. | +| uuid | [string](#string) | | The UUID of the vector. | +| ips | [string](#string) | repeated | The IP list. | ### Object.Locations -Represent multiple vector locations. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| locations | [Object.Location](#payload-v1-Object-Location) | repeated | | - - - +Represent multiple vector locations. +| Field | Type | Label | Description | +| --------- | ---------------------------------------------- | -------- | ----------- | +| locations | [Object.Location](#payload-v1-Object-Location) | repeated | | ### Object.ReshapeVector -Represent reshape vector. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| object | [bytes](#bytes) | | The binary object. | -| shape | [int32](#int32) | repeated | The new shape. | - - - +Represent reshape vector. +| Field | Type | Label | Description | +| ------ | --------------- | -------- | ------------------ | +| object | [bytes](#bytes) | | The binary object. | +| shape | [int32](#int32) | repeated | The new shape. | ### Object.StreamBlob -Represent stream response of binary objects. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| blob | [Object.Blob](#payload-v1-Object-Blob) | | The binary object. | -| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. | - - - +Represent stream response of binary objects. +| Field | Type | Label | Description | +| ------ | --------------------------------------- | ----- | --------------------- | +| blob | [Object.Blob](#payload-v1-Object-Blob) | | The binary object. | +| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. | ### Object.StreamDistance -Represent stream response of distances. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| distance | [Object.Distance](#payload-v1-Object-Distance) | | The distance. | -| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. | - - - +Represent stream response of distances. +| Field | Type | Label | Description | +| -------- | ---------------------------------------------- | ----- | --------------------- | +| distance | [Object.Distance](#payload-v1-Object-Distance) | | The distance. | +| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. | ### Object.StreamLocation -Represent the stream response of the vector location. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| location | [Object.Location](#payload-v1-Object-Location) | | The vector location. | -| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. | - - - +Represent the stream response of the vector location. +| Field | Type | Label | Description | +| -------- | ---------------------------------------------- | ----- | --------------------- | +| location | [Object.Location](#payload-v1-Object-Location) | | The vector location. | +| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. | ### Object.StreamVector -Represent stream response of the vector. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector. | -| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. | - - - +Represent stream response of the vector. +| Field | Type | Label | Description | +| ------ | ------------------------------------------ | ----- | --------------------- | +| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector. | +| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. | ### Object.Timestamp -Represent a vector meta data. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | The vector ID. | -| timestamp | [int64](#int64) | | timestamp represents when this vector inserted. | - - - +Represent a vector meta data. +| Field | Type | Label | Description | +| --------- | ----------------- | ----- | ----------------------------------------------- | +| id | [string](#string) | | The vector ID. | +| timestamp | [int64](#int64) | | timestamp represents when this vector inserted. | ### Object.TimestampRequest -Represent a request to fetch vector meta data. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [Object.ID](#payload-v1-Object-ID) | | The vector ID to be fetched. | - - - +Represent a request to fetch vector meta data. +| Field | Type | Label | Description | +| ----- | ---------------------------------- | ----- | ---------------------------- | +| id | [Object.ID](#payload-v1-Object-ID) | | The vector ID to be fetched. | ### Object.Vector -Represent a vector. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | The vector ID. | -| vector | [float](#float) | repeated | The vector. | -| timestamp | [int64](#int64) | | timestamp represents when this vector inserted. | - - - +Represent a vector. +| Field | Type | Label | Description | +| --------- | ----------------- | -------- | ----------------------------------------------- | +| id | [string](#string) | | The vector ID. | +| vector | [float](#float) | repeated | The vector. | +| timestamp | [int64](#int64) | | timestamp represents when this vector inserted. | ### Object.VectorRequest -Represent a request to fetch raw vector. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [Object.ID](#payload-v1-Object-ID) | | The vector ID to be fetched. | -| filters | [Filter.Config](#payload-v1-Filter-Config) | | Filter configurations. | - - - - - - - - -### Object.Vectors -Represent multiple vectors. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| vectors | [Object.Vector](#payload-v1-Object-Vector) | repeated | | - - - - - - - - -### Remove -Remove related messages. - +Represent a request to fetch raw vector. +| Field | Type | Label | Description | +| ------- | ------------------------------------------ | ----- | ---------------------------- | +| id | [Object.ID](#payload-v1-Object-ID) | | The vector ID to be fetched. | +| filters | [Filter.Config](#payload-v1-Filter-Config) | | Filter configurations. | + +### Object.Vectors - +Represent multiple vectors. -### Remove.Config -Represent the remove configuration. +| Field | Type | Label | Description | +| ------- | ------------------------------------------ | -------- | ----------- | +| vectors | [Object.Vector](#payload-v1-Object-Vector) | repeated | | + -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during upsert operation. | -| timestamp | [int64](#int64) | | Remove timestamp. | +### Remove +Remove related messages. + +### Remove.Config +Represent the remove configuration. +| Field | Type | Label | Description | +| ----------------------- | --------------- | ----- | --------------------------------------------------- | +| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during upsert operation. | +| timestamp | [int64](#int64) | | Remove timestamp. | ### Remove.MultiRequest -Represent the multiple remove request. +Represent the multiple remove request. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| -------- | -------------------------------------------- | -------- | ---------------------------------------------- | | requests | [Remove.Request](#payload-v1-Remove-Request) | repeated | Represent the multiple remove request content. | - - - - - ### Remove.Request -Represent the remove request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [Object.ID](#payload-v1-Object-ID) | | The object ID to be removed. | -| config | [Remove.Config](#payload-v1-Remove-Config) | | The configuration of the remove request. | - - - +Represent the remove request. +| Field | Type | Label | Description | +| ------ | ------------------------------------------ | ----- | ---------------------------------------- | +| id | [Object.ID](#payload-v1-Object-ID) | | The object ID to be removed. | +| config | [Remove.Config](#payload-v1-Remove-Config) | | The configuration of the remove request. | ### Remove.Timestamp -Represent the timestamp comparison. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| timestamp | [int64](#int64) | | The timestamp. | -| operator | [Remove.Timestamp.Operator](#payload-v1-Remove-Timestamp-Operator) | | The conditional operator. | - - - +Represent the timestamp comparison. +| Field | Type | Label | Description | +| --------- | ------------------------------------------------------------------ | ----- | ------------------------- | +| timestamp | [int64](#int64) | | The timestamp. | +| operator | [Remove.Timestamp.Operator](#payload-v1-Remove-Timestamp-Operator) | | The conditional operator. | ### Remove.TimestampRequest -Represent the remove request based on timestamp. +Represent the remove request based on timestamp. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| ---------- | ------------------------------------------------ | -------- | ------------------------------------------------------------------------------------------ | | timestamps | [Remove.Timestamp](#payload-v1-Remove-Timestamp) | repeated | The timestamp comparison list. If more than one is specified, the `AND` search is applied. | - - - - - ### Search -Search related messages. - - - - +Search related messages. ### Search.Config -Represent search configuration. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request_id | [string](#string) | | Unique request ID. | -| num | [uint32](#uint32) | | Maximum number of result to be returned. | -| radius | [float](#float) | | Search radius. | -| epsilon | [float](#float) | | Search coefficient. | -| timeout | [int64](#int64) | | Search timeout in nanoseconds. | -| ingress_filters | [Filter.Config](#payload-v1-Filter-Config) | | Ingress filter configurations. | -| egress_filters | [Filter.Config](#payload-v1-Filter-Config) | | Egress filter configurations. | -| min_num | [uint32](#uint32) | | Minimum number of result to be returned. | -| aggregation_algorithm | [Search.AggregationAlgorithm](#payload-v1-Search-AggregationAlgorithm) | | Aggregation Algorithm | -| ratio | [google.protobuf.FloatValue](#google-protobuf-FloatValue) | | Search ratio for agent return result number. | -| nprobe | [uint32](#uint32) | | Search nprobe. | - - - +Represent search configuration. +| Field | Type | Label | Description | +| --------------------- | ---------------------------------------------------------------------- | ----- | -------------------------------------------- | +| request_id | [string](#string) | | Unique request ID. | +| num | [uint32](#uint32) | | Maximum number of result to be returned. | +| radius | [float](#float) | | Search radius. | +| epsilon | [float](#float) | | Search coefficient. | +| timeout | [int64](#int64) | | Search timeout in nanoseconds. | +| ingress_filters | [Filter.Config](#payload-v1-Filter-Config) | | Ingress filter configurations. | +| egress_filters | [Filter.Config](#payload-v1-Filter-Config) | | Egress filter configurations. | +| min_num | [uint32](#uint32) | | Minimum number of result to be returned. | +| aggregation_algorithm | [Search.AggregationAlgorithm](#payload-v1-Search-AggregationAlgorithm) | | Aggregation Algorithm | +| ratio | [google.protobuf.FloatValue](#google-protobuf-FloatValue) | | Search ratio for agent return result number. | +| nprobe | [uint32](#uint32) | | Search nprobe. | ### Search.IDRequest -Represent a search by ID request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | The vector ID to be searched. | -| config | [Search.Config](#payload-v1-Search-Config) | | The configuration of the search request. | - - - +Represent a search by ID request. +| Field | Type | Label | Description | +| ------ | ------------------------------------------ | ----- | ---------------------------------------- | +| id | [string](#string) | | The vector ID to be searched. | +| config | [Search.Config](#payload-v1-Search-Config) | | The configuration of the search request. | ### Search.MultiIDRequest -Represent the multiple search by ID request. +Represent the multiple search by ID request. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| -------- | ------------------------------------------------ | -------- | ---------------------------------------------------- | | requests | [Search.IDRequest](#payload-v1-Search-IDRequest) | repeated | Represent the multiple search by ID request content. | - - - - - ### Search.MultiObjectRequest -Represent the multiple search by binary object request. +Represent the multiple search by binary object request. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| -------- | -------------------------------------------------------- | -------- | --------------------------------------------------------------- | | requests | [Search.ObjectRequest](#payload-v1-Search-ObjectRequest) | repeated | Represent the multiple search by binary object request content. | - - - - - ### Search.MultiRequest -Represent the multiple search request. +Represent the multiple search request. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| -------- | -------------------------------------------- | -------- | ---------------------------------------------- | | requests | [Search.Request](#payload-v1-Search-Request) | repeated | Represent the multiple search request content. | - - - - - ### Search.ObjectRequest -Represent a search by binary object request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| object | [bytes](#bytes) | | The binary object to be searched. | -| config | [Search.Config](#payload-v1-Search-Config) | | The configuration of the search request. | -| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter configuration. | - - - +Represent a search by binary object request. +| Field | Type | Label | Description | +| ---------- | ------------------------------------------ | ----- | ---------------------------------------- | +| object | [bytes](#bytes) | | The binary object to be searched. | +| config | [Search.Config](#payload-v1-Search-Config) | | The configuration of the search request. | +| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter configuration. | ### Search.Request -Represent a search request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| vector | [float](#float) | repeated | The vector to be searched. | -| config | [Search.Config](#payload-v1-Search-Config) | | The configuration of the search request. | - - - +Represent a search request. +| Field | Type | Label | Description | +| ------ | ------------------------------------------ | -------- | ---------------------------------------- | +| vector | [float](#float) | repeated | The vector to be searched. | +| config | [Search.Config](#payload-v1-Search-Config) | | The configuration of the search request. | ### Search.Response -Represent a search response. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request_id | [string](#string) | | The unique request ID. | -| results | [Object.Distance](#payload-v1-Object-Distance) | repeated | Search results. | - - - +Represent a search response. +| Field | Type | Label | Description | +| ---------- | ---------------------------------------------- | -------- | ---------------------- | +| request_id | [string](#string) | | The unique request ID. | +| results | [Object.Distance](#payload-v1-Object-Distance) | repeated | Search results. | ### Search.Responses -Represent multiple search responses. +Represent multiple search responses. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| --------- | ---------------------------------------------- | -------- | ----------------------------------------------- | | responses | [Search.Response](#payload-v1-Search-Response) | repeated | Represent the multiple search response content. | - - - - - ### Search.StreamResponse -Represent stream search response. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| response | [Search.Response](#payload-v1-Search-Response) | | Represent the search response. | -| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. | - - - +Represent stream search response. +| Field | Type | Label | Description | +| -------- | ---------------------------------------------- | ----- | ------------------------------ | +| response | [Search.Response](#payload-v1-Search-Response) | | Represent the search response. | +| status | [google.rpc.Status](#google-rpc-Status) | | The RPC error status. | ### Update -Update related messages - - - - +Update related messages ### Update.Config -Represent the update configuration. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during update operation. | -| filters | [Filter.Config](#payload-v1-Filter-Config) | | Filter configuration. | -| timestamp | [int64](#int64) | | Update timestamp. | -| disable_balanced_update | [bool](#bool) | | A flag to disable balanced update (split remove -> insert operation) during update operation. | - - - +Represent the update configuration. +| Field | Type | Label | Description | +| ----------------------- | ------------------------------------------ | ----- | ------------------------------------------------------------------------------------------------ | +| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during update operation. | +| filters | [Filter.Config](#payload-v1-Filter-Config) | | Filter configuration. | +| timestamp | [int64](#int64) | | Update timestamp. | +| disable_balanced_update | [bool](#bool) | | A flag to disable balanced update (split remove -> insert operation) during update operation. | ### Update.MultiObjectRequest -Represent the multiple update binary object request. +Represent the multiple update binary object request. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| -------- | -------------------------------------------------------- | -------- | ----------------------------------------------------- | | requests | [Update.ObjectRequest](#payload-v1-Update-ObjectRequest) | repeated | Represent the multiple update object request content. | - - - - - ### Update.MultiRequest -Represent the multiple update request. +Represent the multiple update request. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| -------- | -------------------------------------------- | -------- | ---------------------------------------------- | | requests | [Update.Request](#payload-v1-Update-Request) | repeated | Represent the multiple update request content. | - - - - - ### Update.ObjectRequest -Represent the update binary object request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| object | [Object.Blob](#payload-v1-Object-Blob) | | The binary object to be updated. | -| config | [Update.Config](#payload-v1-Update-Config) | | The configuration of the update request. | -| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter target. | - - - +Represent the update binary object request. +| Field | Type | Label | Description | +| ---------- | ------------------------------------------ | ----- | ---------------------------------------- | +| object | [Object.Blob](#payload-v1-Object-Blob) | | The binary object to be updated. | +| config | [Update.Config](#payload-v1-Update-Config) | | The configuration of the update request. | +| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter target. | ### Update.Request -Represent the update request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector to be updated. | -| config | [Update.Config](#payload-v1-Update-Config) | | The configuration of the update request. | - - - +Represent the update request. +| Field | Type | Label | Description | +| ------ | ------------------------------------------ | ----- | ---------------------------------------- | +| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector to be updated. | +| config | [Update.Config](#payload-v1-Update-Config) | | The configuration of the update request. | ### Update.TimestampRequest -Represent a vector meta data. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| id | [string](#string) | | The vector ID. | -| timestamp | [int64](#int64) | | timestamp represents when this vector inserted. | -| force | [bool](#bool) | | force represents forcefully update the timestamp. | - - - +Represent a vector meta data. +| Field | Type | Label | Description | +| --------- | ----------------- | ----- | ------------------------------------------------- | +| id | [string](#string) | | The vector ID. | +| timestamp | [int64](#int64) | | timestamp represents when this vector inserted. | +| force | [bool](#bool) | | force represents forcefully update the timestamp. | ### Upsert -Upsert related messages. - - - - +Upsert related messages. ### Upsert.Config -Represent the upsert configuration. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during upsert operation. | -| filters | [Filter.Config](#payload-v1-Filter-Config) | | Filter configuration. | -| timestamp | [int64](#int64) | | Upsert timestamp. | -| disable_balanced_update | [bool](#bool) | | A flag to disable balanced update (split remove -> insert operation) during update operation. | - - - +Represent the upsert configuration. +| Field | Type | Label | Description | +| ----------------------- | ------------------------------------------ | ----- | ------------------------------------------------------------------------------------------------ | +| skip_strict_exist_check | [bool](#bool) | | A flag to skip exist check during upsert operation. | +| filters | [Filter.Config](#payload-v1-Filter-Config) | | Filter configuration. | +| timestamp | [int64](#int64) | | Upsert timestamp. | +| disable_balanced_update | [bool](#bool) | | A flag to disable balanced update (split remove -> insert operation) during update operation. | ### Upsert.MultiObjectRequest -Represent the multiple upsert binary object request. +Represent the multiple upsert binary object request. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| -------- | -------------------------------------------------------- | -------- | ----------------------------------------------------- | | requests | [Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest) | repeated | Represent the multiple upsert object request content. | - - - - - ### Upsert.MultiRequest -Represent mthe ultiple upsert request. +Represent mthe ultiple upsert request. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| -------- | -------------------------------------------- | -------- | ---------------------------------------------- | | requests | [Upsert.Request](#payload-v1-Upsert-Request) | repeated | Represent the multiple upsert request content. | - - - - - ### Upsert.ObjectRequest -Represent the upsert binary object request. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| object | [Object.Blob](#payload-v1-Object-Blob) | | The binary object to be upserted. | -| config | [Upsert.Config](#payload-v1-Upsert-Config) | | The configuration of the upsert request. | -| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter target. | - - - +Represent the upsert binary object request. +| Field | Type | Label | Description | +| ---------- | ------------------------------------------ | ----- | ---------------------------------------- | +| object | [Object.Blob](#payload-v1-Object-Blob) | | The binary object to be upserted. | +| config | [Upsert.Config](#payload-v1-Upsert-Config) | | The configuration of the upsert request. | +| vectorizer | [Filter.Target](#payload-v1-Filter-Target) | | Filter target. | ### Upsert.Request -Represent the upsert request. +Represent the upsert request. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector to be upserted. | -| config | [Upsert.Config](#payload-v1-Upsert-Config) | | The configuration of the upsert request. | - - - - - - - +| Field | Type | Label | Description | +| ------ | ------------------------------------------ | ----- | ---------------------------------------- | +| vector | [Object.Vector](#payload-v1-Object-Vector) | | The vector to be upserted. | +| config | [Upsert.Config](#payload-v1-Upsert-Config) | | The configuration of the upsert request. | ### Remove.Timestamp.Operator -Operator is enum of each conditional operator. - -| Name | Number | Description | -| ---- | ------ | ----------- | -| Eq | 0 | The timestamp is equal to the specified value in the request. | -| Ne | 1 | The timestamp is not equal to the specified value in the request. | -| Ge | 2 | The timestamp is greater than or equal to the specified value in the request. | -| Gt | 3 | The timestamp is greater than the specified value in the request. | -| Le | 4 | The timestamp is less than or equal to the specified value in the request. | -| Lt | 5 | The timestamp is less than the specified value in the request. | +Operator is enum of each conditional operator. +| Name | Number | Description | +| ---- | ------ | ----------------------------------------------------------------------------- | +| Eq | 0 | The timestamp is equal to the specified value in the request. | +| Ne | 1 | The timestamp is not equal to the specified value in the request. | +| Ge | 2 | The timestamp is greater than or equal to the specified value in the request. | +| Gt | 3 | The timestamp is greater than the specified value in the request. | +| Le | 4 | The timestamp is less than or equal to the specified value in the request. | +| Lt | 5 | The timestamp is less than the specified value in the request. | ### Search.AggregationAlgorithm -AggregationAlgorithm is enum of each aggregation algorithms - -| Name | Number | Description | -| ---- | ------ | ----------- | -| Unknown | 0 | | -| ConcurrentQueue | 1 | | -| SortSlice | 2 | | -| SortPoolSlice | 3 | | -| PairingHeap | 4 | | - - - - - - - +AggregationAlgorithm is enum of each aggregation algorithms +| Name | Number | Description | +| --------------- | ------ | ----------- | +| Unknown | 0 | | +| ConcurrentQueue | 1 | | +| SortSlice | 2 | | +| SortPoolSlice | 3 | | +| PairingHeap | 4 | | +

Top

## v1/agent/core/agent.proto - - - - - - - - ### Agent + Represent the agent service. -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| CreateIndex | [.payload.v1.Control.CreateIndexRequest](#payload-v1-Control-CreateIndexRequest) | [.payload.v1.Empty](#payload-v1-Empty) | Represent the creating index RPC. | -| SaveIndex | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Empty](#payload-v1-Empty) | Represent the saving index RPC. | +| Method Name | Request Type | Response Type | Description | +| ------------------ | -------------------------------------------------------------------------------- | -------------------------------------- | -------------------------------------------- | +| CreateIndex | [.payload.v1.Control.CreateIndexRequest](#payload-v1-Control-CreateIndexRequest) | [.payload.v1.Empty](#payload-v1-Empty) | Represent the creating index RPC. | +| SaveIndex | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Empty](#payload-v1-Empty) | Represent the saving index RPC. | | CreateAndSaveIndex | [.payload.v1.Control.CreateIndexRequest](#payload-v1-Control-CreateIndexRequest) | [.payload.v1.Empty](#payload-v1-Empty) | Represent the creating and saving index RPC. | - - - - +

Top

## v1/agent/sidecar/sidecar.proto - - - - - - - - ### Sidecar + Represent the agent sidecar service. | Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| - - - - +| ----------- | ------------ | ------------- | ----------- | +

Top

## v1/discoverer/discoverer.proto - - - - - - - - -### Discoverer -Represent the discoverer service. - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| Pods | [.payload.v1.Discoverer.Request](#payload-v1-Discoverer-Request) | [.payload.v1.Info.Pods](#payload-v1-Info-Pods) | Represent the RPC to get the agent pods information. | -| Nodes | [.payload.v1.Discoverer.Request](#payload-v1-Discoverer-Request) | [.payload.v1.Info.Nodes](#payload-v1-Info-Nodes) | Represent the RPC to get the node information. | -| Services | [.payload.v1.Discoverer.Request](#payload-v1-Discoverer-Request) | [.payload.v1.Info.Services](#payload-v1-Info-Services) | Represent the RPC to get the readreplica svc information. | - - - - - - -

Top

- -## v1/filter/egress/egress_filter.proto +### Discoverer +Represent the discoverer service. - +| Method Name | Request Type | Response Type | Description | +| ----------- | ---------------------------------------------------------------- | ------------------------------------------------------ | --------------------------------------------------------- | +| Pods | [.payload.v1.Discoverer.Request](#payload-v1-Discoverer-Request) | [.payload.v1.Info.Pods](#payload-v1-Info-Pods) | Represent the RPC to get the agent pods information. | +| Nodes | [.payload.v1.Discoverer.Request](#payload-v1-Discoverer-Request) | [.payload.v1.Info.Nodes](#payload-v1-Info-Nodes) | Represent the RPC to get the node information. | +| Services | [.payload.v1.Discoverer.Request](#payload-v1-Discoverer-Request) | [.payload.v1.Info.Services](#payload-v1-Info-Services) | Represent the RPC to get the readreplica svc information. | - + - +

Top

+## v1/filter/egress/egress_filter.proto ### Filter + Represent the egress filter service. -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| +| Method Name | Request Type | Response Type | Description | +| -------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ----------------------------------------- | | FilterDistance | [.payload.v1.Object.Distance](#payload-v1-Object-Distance) | [.payload.v1.Object.Distance](#payload-v1-Object-Distance) | Represent the RPC to filter the distance. | -| FilterVector | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | Represent the RPC to filter the vector. | - - - - +| FilterVector | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | Represent the RPC to filter the vector. | +

Top

## v1/filter/ingress/ingress_filter.proto - - - - - - - - ### Filter -Represent the ingress filter service. - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| GenVector | [.payload.v1.Object.Blob](#payload-v1-Object-Blob) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | Represent the RPC to generate the vector. | -| FilterVector | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | Represent the RPC to filter the vector. | - - +Represent the ingress filter service. +| Method Name | Request Type | Response Type | Description | +| ------------ | ------------------------------------------------------ | ------------------------------------------------------ | ----------------------------------------- | +| GenVector | [.payload.v1.Object.Blob](#payload-v1-Object-Blob) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | Represent the RPC to generate the vector. | +| FilterVector | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | Represent the RPC to filter the vector. | +

Top

## v1/meta/meta.proto - - - - - - - - ### Meta - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| Get | [.payload.v1.Meta.Key](#payload-v1-Meta-Key) | [.payload.v1.Meta.Value](#payload-v1-Meta-Value) | | -| Set | [.payload.v1.Meta.KeyValue](#payload-v1-Meta-KeyValue) | [.payload.v1.Empty](#payload-v1-Empty) | | -| Delete | [.payload.v1.Meta.Key](#payload-v1-Meta-Key) | [.payload.v1.Empty](#payload-v1-Empty) | | - - - - +| Method Name | Request Type | Response Type | Description | +| ----------- | ------------------------------------------------------ | ------------------------------------------------ | ----------- | +| Get | [.payload.v1.Meta.Key](#payload-v1-Meta-Key) | [.payload.v1.Meta.Value](#payload-v1-Meta-Value) | | +| Set | [.payload.v1.Meta.KeyValue](#payload-v1-Meta-KeyValue) | [.payload.v1.Empty](#payload-v1-Empty) | | +| Delete | [.payload.v1.Meta.Key](#payload-v1-Meta-Key) | [.payload.v1.Empty](#payload-v1-Empty) | | +

Top

## v1/mirror/mirror.proto + Copyright (C) 2019-2024 vdaas.org vald team <vald@vdaas.org> Licensed under the Apache License, Version 2.0 (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at - https://www.apache.org/licenses/LICENSE-2.0 +https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, @@ -1979,100 +1379,75 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - - - - - - - ### Mirror -Represent the mirror service. - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| Register | [.payload.v1.Mirror.Targets](#payload-v1-Mirror-Targets) | [.payload.v1.Mirror.Targets](#payload-v1-Mirror-Targets) | Register is the RPC to register other mirror servers. | - - +Represent the mirror service. +| Method Name | Request Type | Response Type | Description | +| ----------- | -------------------------------------------------------- | -------------------------------------------------------- | ----------------------------------------------------- | +| Register | [.payload.v1.Mirror.Targets](#payload-v1-Mirror-Targets) | [.payload.v1.Mirror.Targets](#payload-v1-Mirror-Targets) | Register is the RPC to register other mirror servers. | +

Top

## v1/rpc/errdetails/error_details.proto - - ### BadRequest + Describes violations in a client request. This error type focuses on the syntactic aspects of the request. - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| ---------------- | -------------------------------------------------------------- | -------- | --------------------------------------------- | | field_violations | [BadRequest.FieldViolation](#rpc-v1-BadRequest-FieldViolation) | repeated | Describes all violations in a client request. | - - - - - ### BadRequest.FieldViolation -A message type used to describe a single bad request field. +A message type used to describe a single bad request field. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| field | [string](#string) | | A path that leads to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. +| Field | Type | Label | Description | +| ----- | ----------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| field | [string](#string) | | A path that leads to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. | Consider the following: - message CreateContactRequest { message EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; } +message CreateContactRequest { message EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; } - optional string email = 1; repeated EmailType type = 2; } +optional string email = 1; repeated EmailType type = 2; } - string full_name = 1; repeated EmailAddress email_addresses = 2; } +string full_name = 1; repeated EmailAddress email_addresses = 2; } In this example, in proto `field` could take one of the following values: -* `full_name` for a violation in the `full_name` value * `email_addresses[1].email` for a violation in the `email` field of the first `email_addresses` message * `email_addresses[3].type[2]` for a violation in the second `type` value in the third `email_addresses` message. +- `full_name` for a violation in the `full_name` value _ `email_addresses[1].email` for a violation in the `email` field of the first `email_addresses` message _ `email_addresses[3].type[2]` for a violation in the second `type` value in the third `email_addresses` message. In JSON, the same values are represented as: -* `fullName` for a violation in the `fullName` value * `emailAddresses[1].email` for a violation in the `email` field of the first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation in the second `type` value in the third `emailAddresses` message. | -| description | [string](#string) | | A description of why the request element is bad. | - - - - - +- `fullName` for a violation in the `fullName` value _ `emailAddresses[1].email` for a violation in the `email` field of the first `emailAddresses` message _ `emailAddresses[3].type[2]` for a violation in the second `type` value in the third `emailAddresses` message. | + | description | [string](#string) | | A description of why the request element is bad. | ### DebugInfo -Describes additional debugging info. +Describes additional debugging info. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| ------------- | ----------------- | -------- | ------------------------------------------------------------ | | stack_entries | [string](#string) | repeated | The stack trace entries indicating where the error occurred. | -| detail | [string](#string) | | Additional debugging information provided by the server. | - - - - - +| detail | [string](#string) | | Additional debugging information provided by the server. | ### ErrorInfo + Describes the cause of the error with structured details. Example of an error when contacting the "pubsub.googleapis.com" API when it @@ -2098,134 +1473,97 @@ instance in a region that is out of stock: } } - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| reason | [string](#string) | | The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. | -| domain | [string](#string) | | The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". | -| metadata | [ErrorInfo.MetadataEntry](#rpc-v1-ErrorInfo-MetadataEntry) | repeated | Additional structured details about this error. +| Field | Type | Label | Description | +| -------- | ---------------------------------------------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| reason | [string](#string) | | The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `[A-Z][A-Z0-9_]+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. | +| domain | [string](#string) | | The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". | +| metadata | [ErrorInfo.MetadataEntry](#rpc-v1-ErrorInfo-MetadataEntry) | repeated | Additional structured details about this error. | Keys should match /[a-zA-Z0-9-_]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request. | - - - - - ### ErrorInfo.MetadataEntry - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| key | [string](#string) | | | -| value | [string](#string) | | | - - - - - +| Field | Type | Label | Description | +| ----- | ----------------- | ----- | ----------- | +| key | [string](#string) | | | +| value | [string](#string) | | | ### Help + Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit. - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| ----- | ------------------------------ | -------- | ------------------------------------------------------------------------ | | links | [Help.Link](#rpc-v1-Help-Link) | repeated | URL(s) pointing to additional information on handling the current error. | - - - - - ### Help.Link -Describes a URL link. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| description | [string](#string) | | Describes what the link offers. | -| url | [string](#string) | | The URL of the link. | - - - +Describes a URL link. +| Field | Type | Label | Description | +| ----------- | ----------------- | ----- | ------------------------------- | +| description | [string](#string) | | Describes what the link offers. | +| url | [string](#string) | | The URL of the link. | ### LocalizedMessage + Provides a localized error message that is safe to return to the user which can be attached to an RPC error. - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| locale | [string](#string) | | The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" | -| message | [string](#string) | | The localized error message in the above locale. | - - - - - +| Field | Type | Label | Description | +| ------- | ----------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| locale | [string](#string) | | The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" | +| message | [string](#string) | | The localized error message in the above locale. | ### PreconditionFailure + Describes what preconditions have failed. For example, if an RPC failed because it required the Terms of Service to be acknowledged, it could list the terms of service violation in the PreconditionFailure message. - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| ---------- | ---------------------------------------------------------------------- | -------- | -------------------------------------- | | violations | [PreconditionFailure.Violation](#rpc-v1-PreconditionFailure-Violation) | repeated | Describes all precondition violations. | - - - - - ### PreconditionFailure.Violation -A message type used to describe a single precondition failure. +A message type used to describe a single precondition failure. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| type | [string](#string) | | The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation subjects. For example, "TOS" for "Terms of Service violation". | -| subject | [string](#string) | | The subject, relative to the type, that failed. For example, "google.com/cloud" relative to the "TOS" type would indicate which terms of service is being referenced. | -| description | [string](#string) | | A description of how the precondition failed. Developers can use this description to understand how to fix the failure. +| Field | Type | Label | Description | +| ----------- | ----------------- | ----- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| type | [string](#string) | | The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation subjects. For example, "TOS" for "Terms of Service violation". | +| subject | [string](#string) | | The subject, relative to the type, that failed. For example, "google.com/cloud" relative to the "TOS" type would indicate which terms of service is being referenced. | +| description | [string](#string) | | A description of how the precondition failed. Developers can use this description to understand how to fix the failure. | For example: "Terms of service not accepted". | - - - - - ### QuotaFailure + Describes how a quota check failed. For example if a daily limit was exceeded for the calling project, a service could respond with a QuotaFailure detail containing the project -id and the description of the quota limit that was exceeded. If the +id and the description of the quota limit that was exceeded. If the calling project hasn't enabled the service in the developer console, then a service could respond with the project id and set `service_disabled` to true. @@ -2233,73 +1571,53 @@ to true. Also see RetryInfo and Help types for other details about handling a quota failure. - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | +| Field | Type | Label | Description | +| ---------- | -------------------------------------------------------- | -------- | ------------------------------- | | violations | [QuotaFailure.Violation](#rpc-v1-QuotaFailure-Violation) | repeated | Describes all quota violations. | - - - - - ### QuotaFailure.Violation -A message type used to describe a single quota violation. For example, a -daily quota or a custom quota that was exceeded. +A message type used to describe a single quota violation. For example, a +daily quota or a custom quota that was exceeded. -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| subject | [string](#string) | | The subject on which the quota check failed. For example, "clientip:<ip address of client>" or "project:<Google developer project id>". | -| description | [string](#string) | | A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. +| Field | Type | Label | Description | +| ----------- | ----------------- | ----- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| subject | [string](#string) | | The subject on which the quota check failed. For example, "clientip:<ip address of client>" or "project:<Google developer project id>". | +| description | [string](#string) | | A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. | For example: "Service disabled" or "Daily Limit for read operations exceeded". | - - - - - ### RequestInfo + Contains metadata about the request that clients can attach when filing a bug or providing other forms of feedback. - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| request_id | [string](#string) | | An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs. | -| serving_data | [string](#string) | | Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging. | - - - - - +| Field | Type | Label | Description | +| ------------ | ----------------- | ----- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| request_id | [string](#string) | | An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs. | +| serving_data | [string](#string) | | Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging. | ### ResourceInfo -Describes the resource that is being accessed. - - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| resource_type | [string](#string) | | A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". | -| resource_name | [string](#string) | | The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. | -| owner | [string](#string) | | The owner of the resource (optional). For example, "user:<owner email>" or "project:<Google developer project id>". | -| description | [string](#string) | | Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the `writer` permission on the developer console project. | - - - +Describes the resource that is being accessed. +| Field | Type | Label | Description | +| ------------- | ----------------- | ----- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| resource_type | [string](#string) | | A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". | +| resource_name | [string](#string) | | The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED]. | +| owner | [string](#string) | | The owner of the resource (optional). For example, "user:<owner email>" or "project:<Google developer project id>". | +| description | [string](#string) | | Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the `writer` permission on the developer console project. | ### RetryInfo + Describes when the clients can retry a failed request. Clients could ignore the recommendation here or retry when this information is missing from error responses. @@ -2308,322 +1626,216 @@ It's always recommended that clients should use exponential backoff when retrying. Clients should wait until `retry_delay` amount of time has passed since -receiving the error response before retrying. If retrying requests also +receiving the error response before retrying. If retrying requests also fail, clients should use an exponential backoff scheme to gradually increase the delay between retries based on `retry_delay`, until either a maximum number of retries have been reached or a maximum retry delay cap has been reached. - -| Field | Type | Label | Description | -| ----- | ---- | ----- | ----------- | -| retry_delay | [google.protobuf.Duration](#google-protobuf-Duration) | | Clients should wait at least this long between retrying the same request. | - - - - - - - - - - - - - - +| Field | Type | Label | Description | +| ----------- | ----------------------------------------------------- | ----- | ------------------------------------------------------------------------- | +| retry_delay | [google.protobuf.Duration](#google-protobuf-Duration) | | Clients should wait at least this long between retrying the same request. | +

Top

## v1/vald/filter.proto - - - - - - - - ### Filter -Filter service provides ways to connect to Vald through filter. - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| SearchObject | [.payload.v1.Search.ObjectRequest](#payload-v1-Search-ObjectRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search object. | -| MultiSearchObject | [.payload.v1.Search.MultiObjectRequest](#payload-v1-Search-MultiObjectRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search multiple objects. | -| StreamSearchObject | [.payload.v1.Search.ObjectRequest](#payload-v1-Search-ObjectRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search object by bidirectional streaming. | -| InsertObject | [.payload.v1.Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method insert object. | -| StreamInsertObject | [.payload.v1.Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | Represent the streaming RPC to insert object by bidirectional streaming. | -| MultiInsertObject | [.payload.v1.Insert.MultiObjectRequest](#payload-v1-Insert-MultiObjectRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to insert multiple objects. | -| UpdateObject | [.payload.v1.Update.ObjectRequest](#payload-v1-Update-ObjectRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to update object. | -| StreamUpdateObject | [.payload.v1.Update.ObjectRequest](#payload-v1-Update-ObjectRequest) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to update object by bidirectional streaming. | -| MultiUpdateObject | [.payload.v1.Update.MultiObjectRequest](#payload-v1-Update-MultiObjectRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to update multiple objects. | -| UpsertObject | [.payload.v1.Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to upsert object. | -| StreamUpsertObject | [.payload.v1.Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to upsert object by bidirectional streaming. | -| MultiUpsertObject | [.payload.v1.Upsert.MultiObjectRequest](#payload-v1-Upsert-MultiObjectRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to upsert multiple objects. | - - +Filter service provides ways to connect to Vald through filter. +| Method Name | Request Type | Response Type | Description | +| ------------------ | ------------------------------------------------------------------------------ | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------ | +| SearchObject | [.payload.v1.Search.ObjectRequest](#payload-v1-Search-ObjectRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search object. | +| MultiSearchObject | [.payload.v1.Search.MultiObjectRequest](#payload-v1-Search-MultiObjectRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search multiple objects. | +| StreamSearchObject | [.payload.v1.Search.ObjectRequest](#payload-v1-Search-ObjectRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search object by bidirectional streaming. | +| InsertObject | [.payload.v1.Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method insert object. | +| StreamInsertObject | [.payload.v1.Insert.ObjectRequest](#payload-v1-Insert-ObjectRequest) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | Represent the streaming RPC to insert object by bidirectional streaming. | +| MultiInsertObject | [.payload.v1.Insert.MultiObjectRequest](#payload-v1-Insert-MultiObjectRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to insert multiple objects. | +| UpdateObject | [.payload.v1.Update.ObjectRequest](#payload-v1-Update-ObjectRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to update object. | +| StreamUpdateObject | [.payload.v1.Update.ObjectRequest](#payload-v1-Update-ObjectRequest) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to update object by bidirectional streaming. | +| MultiUpdateObject | [.payload.v1.Update.MultiObjectRequest](#payload-v1-Update-MultiObjectRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to update multiple objects. | +| UpsertObject | [.payload.v1.Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to upsert object. | +| StreamUpsertObject | [.payload.v1.Upsert.ObjectRequest](#payload-v1-Upsert-ObjectRequest) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to upsert object by bidirectional streaming. | +| MultiUpsertObject | [.payload.v1.Upsert.MultiObjectRequest](#payload-v1-Upsert-MultiObjectRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to upsert multiple objects. | +

Top

## v1/vald/flush.proto - - - - - - - - ### Flush -Flush service provides ways to flush all indexed vectors. - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| Flush | [.payload.v1.Flush.Request](#payload-v1-Flush-Request) | [.payload.v1.Info.Index.Count](#payload-v1-Info-Index-Count) | A method to flush all indexed vector. | - - +Flush service provides ways to flush all indexed vectors. +| Method Name | Request Type | Response Type | Description | +| ----------- | ------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------- | +| Flush | [.payload.v1.Flush.Request](#payload-v1-Flush-Request) | [.payload.v1.Info.Index.Count](#payload-v1-Info-Index-Count) | A method to flush all indexed vector. | +

Top

## v1/vald/index.proto - - - - - - - - ### Index -Represent the index manager service. - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| IndexInfo | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.Count](#payload-v1-Info-Index-Count) | Represent the RPC to get the index information. | -| IndexDetail | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.Detail](#payload-v1-Info-Index-Detail) | Represent the RPC to get the index information for each agents. | -| IndexStatistics | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.Statistics](#payload-v1-Info-Index-Statistics) | Represent the RPC to get the index statistics. | -| IndexStatisticsDetail | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.StatisticsDetail](#payload-v1-Info-Index-StatisticsDetail) | Represent the RPC to get the index statistics for each agents. | -| IndexProperty | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.PropertyDetail](#payload-v1-Info-Index-PropertyDetail) | Represent the RPC to get the index property. | - - +Represent the index manager service. +| Method Name | Request Type | Response Type | Description | +| --------------------- | -------------------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------- | +| IndexInfo | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.Count](#payload-v1-Info-Index-Count) | Represent the RPC to get the index information. | +| IndexDetail | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.Detail](#payload-v1-Info-Index-Detail) | Represent the RPC to get the index information for each agents. | +| IndexStatistics | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.Statistics](#payload-v1-Info-Index-Statistics) | Represent the RPC to get the index statistics. | +| IndexStatisticsDetail | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.StatisticsDetail](#payload-v1-Info-Index-StatisticsDetail) | Represent the RPC to get the index statistics for each agents. | +| IndexProperty | [.payload.v1.Empty](#payload-v1-Empty) | [.payload.v1.Info.Index.PropertyDetail](#payload-v1-Info-Index-PropertyDetail) | Represent the RPC to get the index property. | +

Top

## v1/vald/insert.proto - - - - - - - - ### Insert -Insert service provides ways to add new vectors. - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| Insert | [.payload.v1.Insert.Request](#payload-v1-Insert-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to add a new single vector. | -| StreamInsert | [.payload.v1.Insert.Request](#payload-v1-Insert-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to add new multiple vectors by bidirectional streaming. | -| MultiInsert | [.payload.v1.Insert.MultiRequest](#payload-v1-Insert-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to add new multiple vectors in a single request. | - - +Insert service provides ways to add new vectors. +| Method Name | Request Type | Response Type | Description | +| ------------ | ------------------------------------------------------------------ | ----------------------------------------------------------------------------- | ---------------------------------------------------------------- | +| Insert | [.payload.v1.Insert.Request](#payload-v1-Insert-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to add a new single vector. | +| StreamInsert | [.payload.v1.Insert.Request](#payload-v1-Insert-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to add new multiple vectors by bidirectional streaming. | +| MultiInsert | [.payload.v1.Insert.MultiRequest](#payload-v1-Insert-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to add new multiple vectors in a single request. | +

Top

## v1/vald/object.proto - - - - - - - - ### Object -Object service provides ways to fetch indexed vectors. - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| Exists | [.payload.v1.Object.ID](#payload-v1-Object-ID) | [.payload.v1.Object.ID](#payload-v1-Object-ID) | A method to check whether a specified ID is indexed or not. | -| GetObject | [.payload.v1.Object.VectorRequest](#payload-v1-Object-VectorRequest) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | A method to fetch a vector. | -| StreamGetObject | [.payload.v1.Object.VectorRequest](#payload-v1-Object-VectorRequest) stream | [.payload.v1.Object.StreamVector](#payload-v1-Object-StreamVector) stream | A method to fetch vectors by bidirectional streaming. | -| StreamListObject | [.payload.v1.Object.List.Request](#payload-v1-Object-List-Request) | [.payload.v1.Object.List.Response](#payload-v1-Object-List-Response) stream | A method to get all the vectors with server streaming | -| GetTimestamp | [.payload.v1.Object.TimestampRequest](#payload-v1-Object-TimestampRequest) | [.payload.v1.Object.Timestamp](#payload-v1-Object-Timestamp) | Represent the RPC to get the vector metadata. This RPC is mainly used for index correction process | - - +Object service provides ways to fetch indexed vectors. +| Method Name | Request Type | Response Type | Description | +| ---------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| Exists | [.payload.v1.Object.ID](#payload-v1-Object-ID) | [.payload.v1.Object.ID](#payload-v1-Object-ID) | A method to check whether a specified ID is indexed or not. | +| GetObject | [.payload.v1.Object.VectorRequest](#payload-v1-Object-VectorRequest) | [.payload.v1.Object.Vector](#payload-v1-Object-Vector) | A method to fetch a vector. | +| StreamGetObject | [.payload.v1.Object.VectorRequest](#payload-v1-Object-VectorRequest) stream | [.payload.v1.Object.StreamVector](#payload-v1-Object-StreamVector) stream | A method to fetch vectors by bidirectional streaming. | +| StreamListObject | [.payload.v1.Object.List.Request](#payload-v1-Object-List-Request) | [.payload.v1.Object.List.Response](#payload-v1-Object-List-Response) stream | A method to get all the vectors with server streaming | +| GetTimestamp | [.payload.v1.Object.TimestampRequest](#payload-v1-Object-TimestampRequest) | [.payload.v1.Object.Timestamp](#payload-v1-Object-Timestamp) | Represent the RPC to get the vector metadata. This RPC is mainly used for index correction process | +

Top

## v1/vald/remove.proto - - - - - - - - ### Remove -Remove service provides ways to remove indexed vectors. - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| Remove | [.payload.v1.Remove.Request](#payload-v1-Remove-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to remove an indexed vector. | -| RemoveByTimestamp | [.payload.v1.Remove.TimestampRequest](#payload-v1-Remove-TimestampRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to remove an indexed vector based on timestamp. | -| StreamRemove | [.payload.v1.Remove.Request](#payload-v1-Remove-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to remove multiple indexed vectors by bidirectional streaming. | -| MultiRemove | [.payload.v1.Remove.MultiRequest](#payload-v1-Remove-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to remove multiple indexed vectors in a single request. | - - +Remove service provides ways to remove indexed vectors. +| Method Name | Request Type | Response Type | Description | +| ----------------- | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| Remove | [.payload.v1.Remove.Request](#payload-v1-Remove-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to remove an indexed vector. | +| RemoveByTimestamp | [.payload.v1.Remove.TimestampRequest](#payload-v1-Remove-TimestampRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to remove an indexed vector based on timestamp. | +| StreamRemove | [.payload.v1.Remove.Request](#payload-v1-Remove-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to remove multiple indexed vectors by bidirectional streaming. | +| MultiRemove | [.payload.v1.Remove.MultiRequest](#payload-v1-Remove-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to remove multiple indexed vectors in a single request. | +

Top

## v1/vald/search.proto - - - - - - - - ### Search -Search service provides ways to search indexed vectors. - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| Search | [.payload.v1.Search.Request](#payload-v1-Search-Request) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search indexed vectors by a raw vector. | -| SearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search indexed vectors by ID. | -| StreamSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search indexed vectors by multiple vectors. | -| StreamSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search indexed vectors by multiple IDs. | -| MultiSearch | [.payload.v1.Search.MultiRequest](#payload-v1-Search-MultiRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search indexed vectors by multiple vectors in a single request. | -| MultiSearchByID | [.payload.v1.Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search indexed vectors by multiple IDs in a single request. | -| LinearSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to linear search indexed vectors by a raw vector. | -| LinearSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to linear search indexed vectors by ID. | -| StreamLinearSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to linear search indexed vectors by multiple vectors. | -| StreamLinearSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to linear search indexed vectors by multiple IDs. | -| MultiLinearSearch | [.payload.v1.Search.MultiRequest](#payload-v1-Search-MultiRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to linear search indexed vectors by multiple vectors in a single request. | -| MultiLinearSearchByID | [.payload.v1.Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to linear search indexed vectors by multiple IDs in a single request. | - - +Search service provides ways to search indexed vectors. +| Method Name | Request Type | Response Type | Description | +| ---------------------- | ---------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| Search | [.payload.v1.Search.Request](#payload-v1-Search-Request) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search indexed vectors by a raw vector. | +| SearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to search indexed vectors by ID. | +| StreamSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search indexed vectors by multiple vectors. | +| StreamSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to search indexed vectors by multiple IDs. | +| MultiSearch | [.payload.v1.Search.MultiRequest](#payload-v1-Search-MultiRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search indexed vectors by multiple vectors in a single request. | +| MultiSearchByID | [.payload.v1.Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to search indexed vectors by multiple IDs in a single request. | +| LinearSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to linear search indexed vectors by a raw vector. | +| LinearSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) | [.payload.v1.Search.Response](#payload-v1-Search-Response) | A method to linear search indexed vectors by ID. | +| StreamLinearSearch | [.payload.v1.Search.Request](#payload-v1-Search-Request) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to linear search indexed vectors by multiple vectors. | +| StreamLinearSearchByID | [.payload.v1.Search.IDRequest](#payload-v1-Search-IDRequest) stream | [.payload.v1.Search.StreamResponse](#payload-v1-Search-StreamResponse) stream | A method to linear search indexed vectors by multiple IDs. | +| MultiLinearSearch | [.payload.v1.Search.MultiRequest](#payload-v1-Search-MultiRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to linear search indexed vectors by multiple vectors in a single request. | +| MultiLinearSearchByID | [.payload.v1.Search.MultiIDRequest](#payload-v1-Search-MultiIDRequest) | [.payload.v1.Search.Responses](#payload-v1-Search-Responses) | A method to linear search indexed vectors by multiple IDs in a single request. | +

Top

## v1/vald/update.proto - - - - - - - - ### Update -Update service provides ways to update indexed vectors. - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| Update | [.payload.v1.Update.Request](#payload-v1-Update-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to update an indexed vector. | -| StreamUpdate | [.payload.v1.Update.Request](#payload-v1-Update-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to update multiple indexed vectors by bidirectional streaming. | -| MultiUpdate | [.payload.v1.Update.MultiRequest](#payload-v1-Update-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to update multiple indexed vectors in a single request. | -| UpdateTimestamp | [.payload.v1.Update.TimestampRequest](#payload-v1-Update-TimestampRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to update timestamp an indexed vector. | - - +Update service provides ways to update indexed vectors. +| Method Name | Request Type | Response Type | Description | +| --------------- | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| Update | [.payload.v1.Update.Request](#payload-v1-Update-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to update an indexed vector. | +| StreamUpdate | [.payload.v1.Update.Request](#payload-v1-Update-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to update multiple indexed vectors by bidirectional streaming. | +| MultiUpdate | [.payload.v1.Update.MultiRequest](#payload-v1-Update-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to update multiple indexed vectors in a single request. | +| UpdateTimestamp | [.payload.v1.Update.TimestampRequest](#payload-v1-Update-TimestampRequest) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to update timestamp an indexed vector. | +

Top

## v1/vald/upsert.proto - - - - - - - - ### Upsert -Upsert service provides ways to insert/update vectors. - -| Method Name | Request Type | Response Type | Description | -| ----------- | ------------ | ------------- | ------------| -| Upsert | [.payload.v1.Upsert.Request](#payload-v1-Upsert-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to insert/update a vector. | -| StreamUpsert | [.payload.v1.Upsert.Request](#payload-v1-Upsert-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to insert/update multiple vectors by bidirectional streaming. | -| MultiUpsert | [.payload.v1.Upsert.MultiRequest](#payload-v1-Upsert-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to insert/update multiple vectors in a single request. | - - +Upsert service provides ways to insert/update vectors. +| Method Name | Request Type | Response Type | Description | +| ------------ | ------------------------------------------------------------------ | ----------------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| Upsert | [.payload.v1.Upsert.Request](#payload-v1-Upsert-Request) | [.payload.v1.Object.Location](#payload-v1-Object-Location) | A method to insert/update a vector. | +| StreamUpsert | [.payload.v1.Upsert.Request](#payload-v1-Upsert-Request) stream | [.payload.v1.Object.StreamLocation](#payload-v1-Object-StreamLocation) stream | A method to insert/update multiple vectors by bidirectional streaming. | +| MultiUpsert | [.payload.v1.Upsert.MultiRequest](#payload-v1-Upsert-MultiRequest) | [.payload.v1.Object.Locations](#payload-v1-Object-Locations) | A method to insert/update multiple vectors in a single request. | ## Scalar Value Types -| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby | -| ----------- | ----- | --- | ---- | ------ | -- | -- | --- | ---- | -| double | | double | double | float | float64 | double | float | Float | -| float | | float | float | float | float32 | float | float | Float | -| int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | -| int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum | -| uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) | -| uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) | -| sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | -| sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum | -| fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) | -| fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum | -| sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | -| sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum | -| bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | -| string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) | -| bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) | - +| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby | +| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ---------- | ----------- | ------- | ---------- | -------------- | ------------------------------ | +| double | | double | double | float | float64 | double | float | Float | +| float | | float | float | float | float32 | float | float | Float | +| int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | +| int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum | +| uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) | +| uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) | +| sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | +| sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum | +| fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) | +| fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum | +| sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | +| sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum | +| bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | +| string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) | +| bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) | diff --git a/apis/docs/v1/filter.md b/apis/docs/v1/filter.md index 31c3ff92a1..851ce77f27 100644 --- a/apis/docs/v1/filter.md +++ b/apis/docs/v1/filter.md @@ -86,68 +86,60 @@ A method to search object. - Search.ObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | object | bytes | | The binary object to be searched. | - | config | Search.Config | | The configuration of the search request. | - | vectorizer | Filter.Target | | Filter configuration. | - + | field | type | label | desc. | + | :--------: | :------------ | :---- | :--------------------------------------- | + | object | bytes | | The binary object to be searched. | + | config | Search.Config | | The configuration of the search request. | + | vectorizer | Filter.Target | | Filter configuration. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -168,29 +160,28 @@ A method to search object. - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## MultiSearchObject RPC @@ -260,75 +251,66 @@ A method to search multiple objects. - Search.MultiObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :------: | :------------------- | :------- | :-------------------------------------------------------------- | | requests | Search.ObjectRequest | repeated | Represent the multiple search by binary object request content. | - - Search.ObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | object | bytes | | The binary object to be searched. | - | config | Search.Config | | The configuration of the search request. | - | vectorizer | Filter.Target | | Filter configuration. | - + | field | type | label | desc. | + | :--------: | :------------ | :---- | :--------------------------------------- | + | object | bytes | | The binary object to be searched. | + | config | Search.Config | | The configuration of the search request. | + | vectorizer | Filter.Target | | Filter configuration. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -354,36 +336,34 @@ A method to search multiple objects. - Search.Responses - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---------------------------------------------- | | responses | Search.Response | repeated | Represent the multiple search response content. | - - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamSearchObject RPC @@ -448,68 +428,60 @@ A method to search object by bidirectional streaming. - Search.ObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | object | bytes | | The binary object to be searched. | - | config | Search.Config | | The configuration of the search request. | - | vectorizer | Filter.Target | | Filter configuration. | - + | field | type | label | desc. | + | :--------: | :------------ | :---- | :--------------------------------------- | + | object | bytes | | The binary object to be searched. | + | config | Search.Config | | The configuration of the search request. | + | vectorizer | Filter.Target | | Filter configuration. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -536,37 +508,35 @@ A method to search object by bidirectional streaming. - Search.StreamResponse - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | response | Search.Response | | Represent the search response. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :------: | :---------------- | :---- | :----------------------------- | + | response | Search.Response | | Represent the search response. | + | status | google.rpc.Status | | The RPC error status. | - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## InsertObject RPC @@ -618,53 +588,46 @@ A method insert object. - Insert.ObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | object | Object.Blob | | The binary object to be inserted. | - | config | Insert.Config | | The configuration of the insert request. | - | vectorizer | Filter.Target | | Filter configurations. | - + | field | type | label | desc. | + | :--------: | :------------ | :---- | :--------------------------------------- | + | object | Object.Blob | | The binary object to be inserted. | + | config | Insert.Config | | The configuration of the insert request. | + | vectorizer | Filter.Target | | Filter configurations. | - Object.Blob - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - + | field | type | label | desc. | + | :----: | :----- | :---- | :----------------- | + | id | string | | The object ID. | + | object | bytes | | The binary object. | - Insert.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | - | filters | Filter.Config | | Filter configurations. | - | timestamp | int64 | | Insert timestamp. | - + | field | type | label | desc. | + | :---------------------: | :------------ | :---- | :-------------------------------------------------- | + | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | + | filters | Filter.Config | | Filter configurations. | + | timestamp | int64 | | Insert timestamp. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -680,22 +643,22 @@ A method insert object. - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamInsertObject RPC @@ -747,53 +710,46 @@ Represent the streaming RPC to insert object by bidirectional streaming. - Insert.ObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | object | Object.Blob | | The binary object to be inserted. | - | config | Insert.Config | | The configuration of the insert request. | - | vectorizer | Filter.Target | | Filter configurations. | - + | field | type | label | desc. | + | :--------: | :------------ | :---- | :--------------------------------------- | + | object | Object.Blob | | The binary object to be inserted. | + | config | Insert.Config | | The configuration of the insert request. | + | vectorizer | Filter.Target | | Filter configurations. | - Object.Blob - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - + | field | type | label | desc. | + | :----: | :----- | :---- | :----------------- | + | id | string | | The object ID. | + | object | bytes | | The binary object. | - Insert.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | - | filters | Filter.Config | | Filter configurations. | - | timestamp | int64 | | Insert timestamp. | - + | field | type | label | desc. | + | :---------------------: | :------------ | :---- | :-------------------------------------------------- | + | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | + | filters | Filter.Config | | Filter configurations. | + | timestamp | int64 | | Insert timestamp. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -815,30 +771,29 @@ Represent the streaming RPC to insert object by bidirectional streaming. - Object.StreamLocation - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :------: | :---------------- | :---- | :-------------------- | + | location | Object.Location | | The vector location. | + | status | google.rpc.Status | | The RPC error status. | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## MultiInsertObject RPC @@ -895,60 +850,52 @@ A method to insert multiple objects. - Insert.MultiObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :------: | :------------------- | :------- | :------------------------------------------- | | requests | Insert.ObjectRequest | repeated | Represent multiple insert by object content. | - - Insert.ObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | object | Object.Blob | | The binary object to be inserted. | - | config | Insert.Config | | The configuration of the insert request. | - | vectorizer | Filter.Target | | Filter configurations. | - + | field | type | label | desc. | + | :--------: | :------------ | :---- | :--------------------------------------- | + | object | Object.Blob | | The binary object to be inserted. | + | config | Insert.Config | | The configuration of the insert request. | + | vectorizer | Filter.Target | | Filter configurations. | - Object.Blob - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - + | field | type | label | desc. | + | :----: | :----- | :---- | :----------------- | + | id | string | | The object ID. | + | object | bytes | | The binary object. | - Insert.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | - | filters | Filter.Config | | Filter configurations. | - | timestamp | int64 | | Insert timestamp. | - + | field | type | label | desc. | + | :---------------------: | :------------ | :---- | :-------------------------------------------------- | + | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | + | filters | Filter.Config | | Filter configurations. | + | timestamp | int64 | | Insert timestamp. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -969,29 +916,28 @@ A method to insert multiple objects. - Object.Locations - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | locations | Object.Location | repeated | | - + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---- | + | locations | Object.Location | repeated | | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## UpdateObject RPC @@ -1044,55 +990,49 @@ A method to update object. - Update.ObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | object | Object.Blob | | The binary object to be updated. | - | config | Update.Config | | The configuration of the update request. | - | vectorizer | Filter.Target | | Filter target. | - + | field | type | label | desc. | + | :--------: | :------------ | :---- | :--------------------------------------- | + | object | Object.Blob | | The binary object to be updated. | + | config | Update.Config | | The configuration of the update request. | + | vectorizer | Filter.Target | | Filter target. | - Object.Blob - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - + | field | type | label | desc. | + | :----: | :----- | :---- | :----------------- | + | id | string | | The object ID. | + | object | bytes | | The binary object. | - Update.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Update timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) -during update operation. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | + | filters | Filter.Config | | Filter configuration. | + | timestamp | int64 | | Update timestamp. | + | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) + during update operation. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -1108,22 +1048,22 @@ during update operation. | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamUpdateObject RPC @@ -1176,55 +1116,49 @@ A method to update object by bidirectional streaming. - Update.ObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | object | Object.Blob | | The binary object to be updated. | - | config | Update.Config | | The configuration of the update request. | - | vectorizer | Filter.Target | | Filter target. | - + | field | type | label | desc. | + | :--------: | :------------ | :---- | :--------------------------------------- | + | object | Object.Blob | | The binary object to be updated. | + | config | Update.Config | | The configuration of the update request. | + | vectorizer | Filter.Target | | Filter target. | - Object.Blob - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - + | field | type | label | desc. | + | :----: | :----- | :---- | :----------------- | + | id | string | | The object ID. | + | object | bytes | | The binary object. | - Update.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Update timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) -during update operation. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | + | filters | Filter.Config | | Filter configuration. | + | timestamp | int64 | | Update timestamp. | + | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) + during update operation. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -1246,30 +1180,29 @@ during update operation. | - Object.StreamLocation - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :------: | :---------------- | :---- | :-------------------- | + | location | Object.Location | | The vector location. | + | status | google.rpc.Status | | The RPC error status. | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## MultiUpdateObject RPC @@ -1327,62 +1260,55 @@ A method to update multiple objects. - Update.MultiObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :------: | :------------------- | :------- | :---------------------------------------------------- | | requests | Update.ObjectRequest | repeated | Represent the multiple update object request content. | - - Update.ObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | object | Object.Blob | | The binary object to be updated. | - | config | Update.Config | | The configuration of the update request. | - | vectorizer | Filter.Target | | Filter target. | - + | field | type | label | desc. | + | :--------: | :------------ | :---- | :--------------------------------------- | + | object | Object.Blob | | The binary object to be updated. | + | config | Update.Config | | The configuration of the update request. | + | vectorizer | Filter.Target | | Filter target. | - Object.Blob - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - + | field | type | label | desc. | + | :----: | :----- | :---- | :----------------- | + | id | string | | The object ID. | + | object | bytes | | The binary object. | - Update.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Update timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) -during update operation. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | + | filters | Filter.Config | | Filter configuration. | + | timestamp | int64 | | Update timestamp. | + | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) + during update operation. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -1403,29 +1329,28 @@ during update operation. | - Object.Locations - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | locations | Object.Location | repeated | | - + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---- | + | locations | Object.Location | repeated | | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## UpsertObject RPC @@ -1478,55 +1403,49 @@ A method to upsert object. - Upsert.ObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | object | Object.Blob | | The binary object to be upserted. | - | config | Upsert.Config | | The configuration of the upsert request. | - | vectorizer | Filter.Target | | Filter target. | - + | field | type | label | desc. | + | :--------: | :------------ | :---- | :--------------------------------------- | + | object | Object.Blob | | The binary object to be upserted. | + | config | Upsert.Config | | The configuration of the upsert request. | + | vectorizer | Filter.Target | | Filter target. | - Object.Blob - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - + | field | type | label | desc. | + | :----: | :----- | :---- | :----------------- | + | id | string | | The object ID. | + | object | bytes | | The binary object. | - Upsert.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Upsert timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) -during update operation. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | + | filters | Filter.Config | | Filter configuration. | + | timestamp | int64 | | Upsert timestamp. | + | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) + during update operation. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -1542,22 +1461,22 @@ during update operation. | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamUpsertObject RPC @@ -1610,55 +1529,49 @@ A method to upsert object by bidirectional streaming. - Upsert.ObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | object | Object.Blob | | The binary object to be upserted. | - | config | Upsert.Config | | The configuration of the upsert request. | - | vectorizer | Filter.Target | | Filter target. | - + | field | type | label | desc. | + | :--------: | :------------ | :---- | :--------------------------------------- | + | object | Object.Blob | | The binary object to be upserted. | + | config | Upsert.Config | | The configuration of the upsert request. | + | vectorizer | Filter.Target | | Filter target. | - Object.Blob - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - + | field | type | label | desc. | + | :----: | :----- | :---- | :----------------- | + | id | string | | The object ID. | + | object | bytes | | The binary object. | - Upsert.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Upsert timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) -during update operation. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | + | filters | Filter.Config | | Filter configuration. | + | timestamp | int64 | | Upsert timestamp. | + | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) + during update operation. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -1680,30 +1593,29 @@ during update operation. | - Object.StreamLocation - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :------: | :---------------- | :---- | :-------------------- | + | location | Object.Location | | The vector location. | + | status | google.rpc.Status | | The RPC error status. | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## MultiUpsertObject RPC @@ -1761,62 +1673,55 @@ A method to upsert multiple objects. - Upsert.MultiObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :------: | :------------------- | :------- | :---------------------------------------------------- | | requests | Upsert.ObjectRequest | repeated | Represent the multiple upsert object request content. | - - Upsert.ObjectRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | object | Object.Blob | | The binary object to be upserted. | - | config | Upsert.Config | | The configuration of the upsert request. | - | vectorizer | Filter.Target | | Filter target. | - + | field | type | label | desc. | + | :--------: | :------------ | :---- | :--------------------------------------- | + | object | Object.Blob | | The binary object to be upserted. | + | config | Upsert.Config | | The configuration of the upsert request. | + | vectorizer | Filter.Target | | Filter target. | - Object.Blob - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The object ID. | - | object | bytes | | The binary object. | - - + | field | type | label | desc. | + | :----: | :----- | :---- | :----------------- | + | id | string | | The object ID. | + | object | bytes | | The binary object. | - Upsert.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Upsert timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) -during update operation. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | + | filters | Filter.Config | | Filter configuration. | + | timestamp | int64 | | Upsert timestamp. | + | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) + during update operation. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -1837,27 +1742,25 @@ during update operation. | - Object.Locations - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | locations | Object.Location | repeated | | - + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---- | + | locations | Object.Location | repeated | | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | diff --git a/apis/docs/v1/flush.md b/apis/docs/v1/flush.md index 237c5f91c3..862f2ecdf9 100644 --- a/apis/docs/v1/flush.md +++ b/apis/docs/v1/flush.md @@ -45,21 +45,20 @@ A method to flush all indexed vector. - Info.Index.Count - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | stored | uint32 | | The stored index count. | - | uncommitted | uint32 | | The uncommitted index count. | - | indexing | bool | | The indexing index count. | - | saving | bool | | The saving index count. | + | field | type | label | desc. | + | :---------: | :----- | :---- | :--------------------------- | + | stored | uint32 | | The stored index count. | + | uncommitted | uint32 | | The uncommitted index count. | + | indexing | bool | | The indexing index count. | + | saving | bool | | The saving index count. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | diff --git a/apis/docs/v1/index.md b/apis/docs/v1/index.md index 194c979a66..4b5ffad85e 100644 --- a/apis/docs/v1/index.md +++ b/apis/docs/v1/index.md @@ -49,23 +49,23 @@ Represent the RPC to get the index information. - Info.Index.Count - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | stored | uint32 | | The stored index count. | - | uncommitted | uint32 | | The uncommitted index count. | - | indexing | bool | | The indexing index count. | - | saving | bool | | The saving index count. | + | field | type | label | desc. | + | :---------: | :----- | :---- | :--------------------------- | + | stored | uint32 | | The stored index count. | + | uncommitted | uint32 | | The uncommitted index count. | + | indexing | bool | | The indexing index count. | + | saving | bool | | The saving index count. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## IndexDetail RPC @@ -113,40 +113,38 @@ Represent the RPC to get the index information for each agents. - Info.Index.Detail - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | counts | Info.Index.Detail.CountsEntry | repeated | count infos for each agents | - | replica | uint32 | | index replica of vald cluster | - | live_agents | uint32 | | live agent replica of vald cluster | - + | field | type | label | desc. | + | :---------: | :---------------------------- | :------- | :--------------------------------- | + | counts | Info.Index.Detail.CountsEntry | repeated | count infos for each agents | + | replica | uint32 | | index replica of vald cluster | + | live_agents | uint32 | | live agent replica of vald cluster | - Info.Index.Detail.CountsEntry - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | key | string | | | - | value | Info.Index.Count | | | - + | field | type | label | desc. | + | :---: | :--------------- | :---- | :---- | + | key | string | | | + | value | Info.Index.Count | | | - Info.Index.Count - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | stored | uint32 | | The stored index count. | - | uncommitted | uint32 | | The uncommitted index count. | - | indexing | bool | | The indexing index count. | - | saving | bool | | The saving index count. | + | field | type | label | desc. | + | :---------: | :----- | :---- | :--------------------------- | + | stored | uint32 | | The stored index count. | + | uncommitted | uint32 | | The uncommitted index count. | + | indexing | bool | | The indexing index count. | + | saving | bool | | The saving index count. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## IndexStatistics RPC @@ -210,52 +208,52 @@ Represent the RPC to get the index statistics. - Info.Index.Statistics - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | valid | bool | | | - | median_indegree | int32 | | | - | median_outdegree | int32 | | | - | max_number_of_indegree | uint64 | | | - | max_number_of_outdegree | uint64 | | | - | min_number_of_indegree | uint64 | | | - | min_number_of_outdegree | uint64 | | | - | mode_indegree | uint64 | | | - | mode_outdegree | uint64 | | | - | nodes_skipped_for_10_edges | uint64 | | | - | nodes_skipped_for_indegree_distance | uint64 | | | - | number_of_edges | uint64 | | | - | number_of_indexed_objects | uint64 | | | - | number_of_nodes | uint64 | | | - | number_of_nodes_without_edges | uint64 | | | - | number_of_nodes_without_indegree | uint64 | | | - | number_of_objects | uint64 | | | - | number_of_removed_objects | uint64 | | | - | size_of_object_repository | uint64 | | | - | size_of_refinement_object_repository | uint64 | | | - | variance_of_indegree | double | | | - | variance_of_outdegree | double | | | - | mean_edge_length | double | | | - | mean_edge_length_for_10_edges | double | | | - | mean_indegree_distance_for_10_edges | double | | | - | mean_number_of_edges_per_node | double | | | - | c1_indegree | double | | | - | c5_indegree | double | | | - | c95_outdegree | double | | | - | c99_outdegree | double | | | - | indegree_count | int64 | repeated | | - | outdegree_histogram | uint64 | repeated | | - | indegree_histogram | uint64 | repeated | | + | field | type | label | desc. | + | :----------------------------------: | :----- | :------- | :---- | + | valid | bool | | | + | median_indegree | int32 | | | + | median_outdegree | int32 | | | + | max_number_of_indegree | uint64 | | | + | max_number_of_outdegree | uint64 | | | + | min_number_of_indegree | uint64 | | | + | min_number_of_outdegree | uint64 | | | + | mode_indegree | uint64 | | | + | mode_outdegree | uint64 | | | + | nodes_skipped_for_10_edges | uint64 | | | + | nodes_skipped_for_indegree_distance | uint64 | | | + | number_of_edges | uint64 | | | + | number_of_indexed_objects | uint64 | | | + | number_of_nodes | uint64 | | | + | number_of_nodes_without_edges | uint64 | | | + | number_of_nodes_without_indegree | uint64 | | | + | number_of_objects | uint64 | | | + | number_of_removed_objects | uint64 | | | + | size_of_object_repository | uint64 | | | + | size_of_refinement_object_repository | uint64 | | | + | variance_of_indegree | double | | | + | variance_of_outdegree | double | | | + | mean_edge_length | double | | | + | mean_edge_length_for_10_edges | double | | | + | mean_indegree_distance_for_10_edges | double | | | + | mean_number_of_edges_per_node | double | | | + | c1_indegree | double | | | + | c5_indegree | double | | | + | c95_outdegree | double | | | + | c99_outdegree | double | | | + | indegree_count | int64 | repeated | | + | outdegree_histogram | uint64 | repeated | | + | indegree_histogram | uint64 | repeated | | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## IndexStatisticsDetail RPC @@ -330,67 +328,65 @@ Represent the RPC to get the index statistics for each agents. - Info.Index.StatisticsDetail - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :--------------------------------------- | :------- | :-------------------------- | | details | Info.Index.StatisticsDetail.DetailsEntry | repeated | count infos for each agents | - - Info.Index.StatisticsDetail.DetailsEntry - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | key | string | | | - | value | Info.Index.Statistics | | | - + | field | type | label | desc. | + | :---: | :-------------------- | :---- | :---- | + | key | string | | | + | value | Info.Index.Statistics | | | - Info.Index.Statistics - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | valid | bool | | | - | median_indegree | int32 | | | - | median_outdegree | int32 | | | - | max_number_of_indegree | uint64 | | | - | max_number_of_outdegree | uint64 | | | - | min_number_of_indegree | uint64 | | | - | min_number_of_outdegree | uint64 | | | - | mode_indegree | uint64 | | | - | mode_outdegree | uint64 | | | - | nodes_skipped_for_10_edges | uint64 | | | - | nodes_skipped_for_indegree_distance | uint64 | | | - | number_of_edges | uint64 | | | - | number_of_indexed_objects | uint64 | | | - | number_of_nodes | uint64 | | | - | number_of_nodes_without_edges | uint64 | | | - | number_of_nodes_without_indegree | uint64 | | | - | number_of_objects | uint64 | | | - | number_of_removed_objects | uint64 | | | - | size_of_object_repository | uint64 | | | - | size_of_refinement_object_repository | uint64 | | | - | variance_of_indegree | double | | | - | variance_of_outdegree | double | | | - | mean_edge_length | double | | | - | mean_edge_length_for_10_edges | double | | | - | mean_indegree_distance_for_10_edges | double | | | - | mean_number_of_edges_per_node | double | | | - | c1_indegree | double | | | - | c5_indegree | double | | | - | c95_outdegree | double | | | - | c99_outdegree | double | | | - | indegree_count | int64 | repeated | | - | outdegree_histogram | uint64 | repeated | | - | indegree_histogram | uint64 | repeated | | + | field | type | label | desc. | + | :----------------------------------: | :----- | :------- | :---- | + | valid | bool | | | + | median_indegree | int32 | | | + | median_outdegree | int32 | | | + | max_number_of_indegree | uint64 | | | + | max_number_of_outdegree | uint64 | | | + | min_number_of_indegree | uint64 | | | + | min_number_of_outdegree | uint64 | | | + | mode_indegree | uint64 | | | + | mode_outdegree | uint64 | | | + | nodes_skipped_for_10_edges | uint64 | | | + | nodes_skipped_for_indegree_distance | uint64 | | | + | number_of_edges | uint64 | | | + | number_of_indexed_objects | uint64 | | | + | number_of_nodes | uint64 | | | + | number_of_nodes_without_edges | uint64 | | | + | number_of_nodes_without_indegree | uint64 | | | + | number_of_objects | uint64 | | | + | number_of_removed_objects | uint64 | | | + | size_of_object_repository | uint64 | | | + | size_of_refinement_object_repository | uint64 | | | + | variance_of_indegree | double | | | + | variance_of_outdegree | double | | | + | mean_edge_length | double | | | + | mean_edge_length_for_10_edges | double | | | + | mean_indegree_distance_for_10_edges | double | | | + | mean_number_of_edges_per_node | double | | | + | c1_indegree | double | | | + | c5_indegree | double | | | + | c95_outdegree | double | | | + | c99_outdegree | double | | | + | indegree_count | int64 | repeated | | + | outdegree_histogram | uint64 | repeated | | + | indegree_histogram | uint64 | repeated | | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## IndexProperty RPC @@ -466,66 +462,63 @@ Represent the RPC to get the index property. - Info.Index.PropertyDetail - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | details | Info.Index.PropertyDetail.DetailsEntry | repeated | | - + | field | type | label | desc. | + | :-----: | :------------------------------------- | :------- | :---- | + | details | Info.Index.PropertyDetail.DetailsEntry | repeated | | - Info.Index.PropertyDetail.DetailsEntry - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | key | string | | | - | value | Info.Index.Property | | | - + | field | type | label | desc. | + | :---: | :------------------ | :---- | :---- | + | key | string | | | + | value | Info.Index.Property | | | - Info.Index.Property - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | dimension | int32 | | | - | thread_pool_size | int32 | | | - | object_type | string | | | - | distance_type | string | | | - | index_type | string | | | - | database_type | string | | | - | object_alignment | string | | | - | path_adjustment_interval | int32 | | | - | graph_shared_memory_size | int32 | | | - | tree_shared_memory_size | int32 | | | - | object_shared_memory_size | int32 | | | - | prefetch_offset | int32 | | | - | prefetch_size | int32 | | | - | accuracy_table | string | | | - | search_type | string | | | - | max_magnitude | float | | | - | n_of_neighbors_for_insertion_order | int32 | | | - | epsilon_for_insertion_order | float | | | - | refinement_object_type | string | | | - | truncation_threshold | int32 | | | - | edge_size_for_creation | int32 | | | - | edge_size_for_search | int32 | | | - | edge_size_limit_for_creation | int32 | | | - | insertion_radius_coefficient | double | | | - | seed_size | int32 | | | - | seed_type | string | | | - | truncation_thread_pool_size | int32 | | | - | batch_size_for_creation | int32 | | | - | graph_type | string | | | - | dynamic_edge_size_base | int32 | | | - | dynamic_edge_size_rate | int32 | | | - | build_time_limit | float | | | - | outgoing_edge | int32 | | | - | incoming_edge | int32 | | | + | field | type | label | desc. | + | :--------------------------------: | :----- | :---- | :---- | + | dimension | int32 | | | + | thread_pool_size | int32 | | | + | object_type | string | | | + | distance_type | string | | | + | index_type | string | | | + | database_type | string | | | + | object_alignment | string | | | + | path_adjustment_interval | int32 | | | + | graph_shared_memory_size | int32 | | | + | tree_shared_memory_size | int32 | | | + | object_shared_memory_size | int32 | | | + | prefetch_offset | int32 | | | + | prefetch_size | int32 | | | + | accuracy_table | string | | | + | search_type | string | | | + | max_magnitude | float | | | + | n_of_neighbors_for_insertion_order | int32 | | | + | epsilon_for_insertion_order | float | | | + | refinement_object_type | string | | | + | truncation_threshold | int32 | | | + | edge_size_for_creation | int32 | | | + | edge_size_for_search | int32 | | | + | edge_size_limit_for_creation | int32 | | | + | insertion_radius_coefficient | double | | | + | seed_size | int32 | | | + | seed_type | string | | | + | truncation_thread_pool_size | int32 | | | + | batch_size_for_creation | int32 | | | + | graph_type | string | | | + | dynamic_edge_size_base | int32 | | | + | dynamic_edge_size_rate | int32 | | | + | build_time_limit | float | | | + | outgoing_edge | int32 | | | + | incoming_edge | int32 | | | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | diff --git a/apis/docs/v1/insert.md b/apis/docs/v1/insert.md index 5b72778a81..dbaf1b5acb 100644 --- a/apis/docs/v1/insert.md +++ b/apis/docs/v1/insert.md @@ -57,44 +57,39 @@ A method to add a new single vector. - Insert.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | Object.Vector | | The vector to be inserted. | - | config | Insert.Config | | The configuration of the insert request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | vector | Object.Vector | | The vector to be inserted. | + | config | Insert.Config | | The configuration of the insert request. | - Object.Vector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - + | field | type | label | desc. | + | :-------: | :----- | :------- | :---------------------------------------------- | + | id | string | | The vector ID. | + | vector | float | repeated | The vector. | + | timestamp | int64 | | timestamp represents when this vector inserted. | - Insert.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | - | filters | Filter.Config | | Filter configurations. | - | timestamp | int64 | | Insert timestamp. | - + | field | type | label | desc. | + | :---------------------: | :------------ | :---- | :-------------------------------------------------- | + | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | + | filters | Filter.Config | | Filter configurations. | + | timestamp | int64 | | Insert timestamp. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -110,22 +105,22 @@ A method to add a new single vector. - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamInsert RPC @@ -170,44 +165,39 @@ A method to add new multiple vectors by bidirectional streaming. - Insert.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | Object.Vector | | The vector to be inserted. | - | config | Insert.Config | | The configuration of the insert request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | vector | Object.Vector | | The vector to be inserted. | + | config | Insert.Config | | The configuration of the insert request. | - Object.Vector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - + | field | type | label | desc. | + | :-------: | :----- | :------- | :---------------------------------------------- | + | id | string | | The vector ID. | + | vector | float | repeated | The vector. | + | timestamp | int64 | | timestamp represents when this vector inserted. | - Insert.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | - | filters | Filter.Config | | Filter configurations. | - | timestamp | int64 | | Insert timestamp. | - + | field | type | label | desc. | + | :---------------------: | :------------ | :---- | :-------------------------------------------------- | + | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | + | filters | Filter.Config | | Filter configurations. | + | timestamp | int64 | | Insert timestamp. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -229,30 +219,29 @@ A method to add new multiple vectors by bidirectional streaming. - Object.StreamLocation - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :------: | :---------------- | :---- | :-------------------- | + | location | Object.Location | | The vector location. | + | status | google.rpc.Status | | The RPC error status. | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## MultiInsert RPC @@ -302,51 +291,45 @@ A method to add new multiple vectors in a single request. - Insert.MultiRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :------: | :------------- | :------- | :----------------------------------------- | | requests | Insert.Request | repeated | Represent multiple insert request content. | - - Insert.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | Object.Vector | | The vector to be inserted. | - | config | Insert.Config | | The configuration of the insert request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | vector | Object.Vector | | The vector to be inserted. | + | config | Insert.Config | | The configuration of the insert request. | - Object.Vector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - + | field | type | label | desc. | + | :-------: | :----- | :------- | :---------------------------------------------- | + | id | string | | The vector ID. | + | vector | float | repeated | The vector. | + | timestamp | int64 | | timestamp represents when this vector inserted. | - Insert.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | - | filters | Filter.Config | | Filter configurations. | - | timestamp | int64 | | Insert timestamp. | - + | field | type | label | desc. | + | :---------------------: | :------------ | :---- | :-------------------------------------------------- | + | skip_strict_exist_check | bool | | A flag to skip exist check during insert operation. | + | filters | Filter.Config | | Filter configurations. | + | timestamp | int64 | | Insert timestamp. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -367,27 +350,25 @@ A method to add new multiple vectors in a single request. - Object.Locations - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | locations | Object.Location | repeated | | - + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---- | + | locations | Object.Location | repeated | | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | diff --git a/apis/docs/v1/object.md b/apis/docs/v1/object.md index e5839377e6..ddc0685a23 100644 --- a/apis/docs/v1/object.md +++ b/apis/docs/v1/object.md @@ -32,9 +32,9 @@ A method to check whether a specified ID is indexed or not. - Object.ID - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | | + | field | type | label | desc. | + | :---: | :----- | :---- | :---- | + | id | string | | | ### Output @@ -48,20 +48,20 @@ A method to check whether a specified ID is indexed or not. - Object.ID - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | | + | field | type | label | desc. | + | :---: | :----- | :---- | :---- | + | id | string | | | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## GetObject RPC @@ -97,33 +97,29 @@ A method to fetch a vector. - Object.VectorRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | Object.ID | | The vector ID to be fetched. | - | filters | Filter.Config | | Filter configurations. | - + | field | type | label | desc. | + | :-----: | :------------ | :---- | :--------------------------- | + | id | Object.ID | | The vector ID to be fetched. | + | filters | Filter.Config | | Filter configurations. | - Object.ID - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :---- | + | id | string | | | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -139,22 +135,22 @@ A method to fetch a vector. - Object.Vector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | + | field | type | label | desc. | + | :-------: | :----- | :------- | :---------------------------------------------- | + | id | string | | The vector ID. | + | vector | float | repeated | The vector. | + | timestamp | int64 | | timestamp represents when this vector inserted. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamGetObject RPC @@ -190,33 +186,29 @@ A method to fetch vectors by bidirectional streaming. - Object.VectorRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | Object.ID | | The vector ID to be fetched. | - | filters | Filter.Config | | Filter configurations. | - + | field | type | label | desc. | + | :-----: | :------------ | :---- | :--------------------------- | + | id | Object.ID | | The vector ID to be fetched. | + | filters | Filter.Config | | Filter configurations. | - Object.ID - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :---- | + | id | string | | | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -238,30 +230,29 @@ A method to fetch vectors by bidirectional streaming. - Object.StreamVector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | Object.Vector | | The vector. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :----: | :---------------- | :---- | :-------------------- | + | vector | Object.Vector | | The vector. | + | status | google.rpc.Status | | The RPC error status. | - Object.Vector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | + | field | type | label | desc. | + | :-------: | :----- | :------- | :---------------------------------------------- | + | id | string | | The vector ID. | + | vector | float | repeated | The vector. | + | timestamp | int64 | | timestamp represents when this vector inserted. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamListObject RPC @@ -301,30 +292,29 @@ A method to get all the vectors with server streaming - Object.List.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | Object.Vector | | The vector | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :----: | :---------------- | :---- | :-------------------- | + | vector | Object.Vector | | The vector | + | status | google.rpc.Status | | The RPC error status. | - Object.Vector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | + | field | type | label | desc. | + | :-------: | :----- | :------- | :---------------------------------------------- | + | id | string | | The vector ID. | + | vector | float | repeated | The vector. | + | timestamp | int64 | | timestamp represents when this vector inserted. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## GetTimestamp RPC @@ -347,16 +337,15 @@ Represent the RPC to get the vector metadata. This RPC is mainly used for index - Object.TimestampRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | Object.ID | | The vector ID to be fetched. | - + | field | type | label | desc. | + | :---: | :-------- | :---- | :--------------------------- | + | id | Object.ID | | The vector ID to be fetched. | - Object.ID - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | | + | field | type | label | desc. | + | :---: | :----- | :---- | :---- | + | id | string | | | ### Output @@ -371,19 +360,18 @@ Represent the RPC to get the vector metadata. This RPC is mainly used for index - Object.Timestamp - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | timestamp | int64 | | timestamp represents when this vector inserted. | + | field | type | label | desc. | + | :-------: | :----- | :---- | :---------------------------------------------- | + | id | string | | The vector ID. | + | timestamp | int64 | | timestamp represents when this vector inserted. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | diff --git a/apis/docs/v1/remove.md b/apis/docs/v1/remove.md index 987ce9edc6..65681d1ab0 100644 --- a/apis/docs/v1/remove.md +++ b/apis/docs/v1/remove.md @@ -44,26 +44,23 @@ A method to remove an indexed vector. - Remove.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | Object.ID | | The object ID to be removed. | - | config | Remove.Config | | The configuration of the remove request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | id | Object.ID | | The object ID to be removed. | + | config | Remove.Config | | The configuration of the remove request. | - Object.ID - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :---- | + | id | string | | | - Remove.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | timestamp | int64 | | Remove timestamp. | + | field | type | label | desc. | + | :---------------------: | :---- | :---- | :-------------------------------------------------- | + | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | + | timestamp | int64 | | Remove timestamp. | ### Output @@ -79,22 +76,22 @@ A method to remove an indexed vector. - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## RemoveByTimestamp RPC @@ -118,18 +115,18 @@ A method to remove an indexed vector based on timestamp. - Remove.TimestampRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | timestamps | Remove.Timestamp | repeated | The timestamp comparison list. If more than one is specified, the `AND` -search is applied. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | timestamps | Remove.Timestamp | repeated | The timestamp comparison list. If more than one is specified, the `AND` + search is applied. | - Remove.Timestamp - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | timestamp | int64 | | The timestamp. | - | operator | Remove.Timestamp.Operator | | The conditional operator. | + | field | type | label | desc. | + | :-------: | :------------------------ | :---- | :------------------------ | + | timestamp | int64 | | The timestamp. | + | operator | Remove.Timestamp.Operator | | The conditional operator. | ### Output @@ -150,29 +147,28 @@ search is applied. | - Object.Locations - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | locations | Object.Location | repeated | | - + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---- | + | locations | Object.Location | repeated | | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamRemove RPC @@ -203,26 +199,23 @@ A method to remove multiple indexed vectors by bidirectional streaming. - Remove.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | Object.ID | | The object ID to be removed. | - | config | Remove.Config | | The configuration of the remove request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | id | Object.ID | | The object ID to be removed. | + | config | Remove.Config | | The configuration of the remove request. | - Object.ID - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :---- | + | id | string | | | - Remove.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | timestamp | int64 | | Remove timestamp. | + | field | type | label | desc. | + | :---------------------: | :---- | :---- | :-------------------------------------------------- | + | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | + | timestamp | int64 | | Remove timestamp. | ### Output @@ -244,30 +237,29 @@ A method to remove multiple indexed vectors by bidirectional streaming. - Object.StreamLocation - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :------: | :---------------- | :---- | :-------------------- | + | location | Object.Location | | The vector location. | + | status | google.rpc.Status | | The RPC error status. | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## MultiRemove RPC @@ -303,33 +295,29 @@ A method to remove multiple indexed vectors in a single request. - Remove.MultiRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :------: | :------------- | :------- | :--------------------------------------------- | | requests | Remove.Request | repeated | Represent the multiple remove request content. | - - Remove.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | Object.ID | | The object ID to be removed. | - | config | Remove.Config | | The configuration of the remove request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | id | Object.ID | | The object ID to be removed. | + | config | Remove.Config | | The configuration of the remove request. | - Object.ID - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :---- | + | id | string | | | - Remove.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | timestamp | int64 | | Remove timestamp. | + | field | type | label | desc. | + | :---------------------: | :---- | :---- | :-------------------------------------------------- | + | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | + | timestamp | int64 | | Remove timestamp. | ### Output @@ -350,27 +338,25 @@ A method to remove multiple indexed vectors in a single request. - Object.Locations - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | locations | Object.Location | repeated | | - + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---- | + | locations | Object.Location | repeated | | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | diff --git a/apis/docs/v1/search.md b/apis/docs/v1/search.md index b3d42216eb..01d3cab7aa 100644 --- a/apis/docs/v1/search.md +++ b/apis/docs/v1/search.md @@ -78,58 +78,52 @@ A method to search indexed vectors by a raw vector. - Search.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | float | repeated | The vector to be searched. | - | config | Search.Config | | The configuration of the search request. | - + | field | type | label | desc. | + | :----: | :------------ | :------- | :--------------------------------------- | + | vector | float | repeated | The vector to be searched. | + | config | Search.Config | | The configuration of the search request. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -150,29 +144,28 @@ A method to search indexed vectors by a raw vector. - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## SearchByID RPC @@ -229,58 +222,52 @@ A method to search indexed vectors by ID. - Search.IDRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID to be searched. | - | config | Search.Config | | The configuration of the search request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | id | string | | The vector ID to be searched. | + | config | Search.Config | | The configuration of the search request. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -301,29 +288,28 @@ A method to search indexed vectors by ID. - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamSearch RPC @@ -380,58 +366,52 @@ A method to search indexed vectors by multiple vectors. - Search.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | float | repeated | The vector to be searched. | - | config | Search.Config | | The configuration of the search request. | - + | field | type | label | desc. | + | :----: | :------------ | :------- | :--------------------------------------- | + | vector | float | repeated | The vector to be searched. | + | config | Search.Config | | The configuration of the search request. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -458,37 +438,35 @@ A method to search indexed vectors by multiple vectors. - Search.StreamResponse - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | response | Search.Response | | Represent the search response. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :------: | :---------------- | :---- | :----------------------------- | + | response | Search.Response | | Represent the search response. | + | status | google.rpc.Status | | The RPC error status. | - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamSearchByID RPC @@ -545,58 +523,52 @@ A method to search indexed vectors by multiple IDs. - Search.IDRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID to be searched. | - | config | Search.Config | | The configuration of the search request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | id | string | | The vector ID to be searched. | + | config | Search.Config | | The configuration of the search request. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -623,37 +595,35 @@ A method to search indexed vectors by multiple IDs. - Search.StreamResponse - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | response | Search.Response | | Represent the search response. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :------: | :---------------- | :---- | :----------------------------- | + | response | Search.Response | | Represent the search response. | + | status | google.rpc.Status | | The RPC error status. | - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## MultiSearch RPC @@ -715,65 +685,58 @@ A method to search indexed vectors by multiple vectors in a single request. - Search.MultiRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :------: | :------------- | :------- | :--------------------------------------------- | | requests | Search.Request | repeated | Represent the multiple search request content. | - - Search.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | float | repeated | The vector to be searched. | - | config | Search.Config | | The configuration of the search request. | - + | field | type | label | desc. | + | :----: | :------------ | :------- | :--------------------------------------- | + | vector | float | repeated | The vector to be searched. | + | config | Search.Config | | The configuration of the search request. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -799,36 +762,34 @@ A method to search indexed vectors by multiple vectors in a single request. - Search.Responses - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---------------------------------------------- | | responses | Search.Response | repeated | Represent the multiple search response content. | - - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## MultiSearchByID RPC @@ -890,65 +851,58 @@ A method to search indexed vectors by multiple IDs in a single request. - Search.MultiIDRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :------: | :--------------- | :------- | :--------------------------------------------------- | | requests | Search.IDRequest | repeated | Represent the multiple search by ID request content. | - - Search.IDRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID to be searched. | - | config | Search.Config | | The configuration of the search request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | id | string | | The vector ID to be searched. | + | config | Search.Config | | The configuration of the search request. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -974,36 +928,34 @@ A method to search indexed vectors by multiple IDs in a single request. - Search.Responses - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---------------------------------------------- | | responses | Search.Response | repeated | Represent the multiple search response content. | - - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## LinearSearch RPC @@ -1060,58 +1012,52 @@ A method to linear search indexed vectors by a raw vector. - Search.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | float | repeated | The vector to be searched. | - | config | Search.Config | | The configuration of the search request. | - + | field | type | label | desc. | + | :----: | :------------ | :------- | :--------------------------------------- | + | vector | float | repeated | The vector to be searched. | + | config | Search.Config | | The configuration of the search request. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -1132,29 +1078,28 @@ A method to linear search indexed vectors by a raw vector. - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## LinearSearchByID RPC @@ -1211,58 +1156,52 @@ A method to linear search indexed vectors by ID. - Search.IDRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID to be searched. | - | config | Search.Config | | The configuration of the search request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | id | string | | The vector ID to be searched. | + | config | Search.Config | | The configuration of the search request. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -1283,29 +1222,28 @@ A method to linear search indexed vectors by ID. - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamLinearSearch RPC @@ -1362,58 +1300,52 @@ A method to linear search indexed vectors by multiple vectors. - Search.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | float | repeated | The vector to be searched. | - | config | Search.Config | | The configuration of the search request. | - + | field | type | label | desc. | + | :----: | :------------ | :------- | :--------------------------------------- | + | vector | float | repeated | The vector to be searched. | + | config | Search.Config | | The configuration of the search request. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -1440,37 +1372,35 @@ A method to linear search indexed vectors by multiple vectors. - Search.StreamResponse - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | response | Search.Response | | Represent the search response. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :------: | :---------------- | :---- | :----------------------------- | + | response | Search.Response | | Represent the search response. | + | status | google.rpc.Status | | The RPC error status. | - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamLinearSearchByID RPC @@ -1527,58 +1457,52 @@ A method to linear search indexed vectors by multiple IDs. - Search.IDRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID to be searched. | - | config | Search.Config | | The configuration of the search request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | id | string | | The vector ID to be searched. | + | config | Search.Config | | The configuration of the search request. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -1605,37 +1529,35 @@ A method to linear search indexed vectors by multiple IDs. - Search.StreamResponse - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | response | Search.Response | | Represent the search response. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :------: | :---------------- | :---- | :----------------------------- | + | response | Search.Response | | Represent the search response. | + | status | google.rpc.Status | | The RPC error status. | - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## MultiLinearSearch RPC @@ -1698,65 +1620,58 @@ request. - Search.MultiRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :------: | :------------- | :------- | :--------------------------------------------- | | requests | Search.Request | repeated | Represent the multiple search request content. | - - Search.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | float | repeated | The vector to be searched. | - | config | Search.Config | | The configuration of the search request. | - + | field | type | label | desc. | + | :----: | :------------ | :------- | :--------------------------------------- | + | vector | float | repeated | The vector to be searched. | + | config | Search.Config | | The configuration of the search request. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -1782,36 +1697,34 @@ request. - Search.Responses - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---------------------------------------------- | | responses | Search.Response | repeated | Represent the multiple search response content. | - - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## MultiLinearSearchByID RPC @@ -1874,65 +1787,58 @@ request. - Search.MultiIDRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :------: | :--------------- | :------- | :--------------------------------------------------- | | requests | Search.IDRequest | repeated | Represent the multiple search by ID request content. | - - Search.IDRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID to be searched. | - | config | Search.Config | | The configuration of the search request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | id | string | | The vector ID to be searched. | + | config | Search.Config | | The configuration of the search request. | - Search.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | Unique request ID. | - | num | uint32 | | Maximum number of result to be returned. | - | radius | float | | Search radius. | - | epsilon | float | | Search coefficient. | - | timeout | int64 | | Search timeout in nanoseconds. | - | ingress_filters | Filter.Config | | Ingress filter configurations. | - | egress_filters | Filter.Config | | Egress filter configurations. | - | min_num | uint32 | | Minimum number of result to be returned. | - | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | - | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | - | nprobe | uint32 | | Search nprobe. | - + | field | type | label | desc. | + | :-------------------: | :-------------------------- | :---- | :------------------------------------------- | + | request_id | string | | Unique request ID. | + | num | uint32 | | Maximum number of result to be returned. | + | radius | float | | Search radius. | + | epsilon | float | | Search coefficient. | + | timeout | int64 | | Search timeout in nanoseconds. | + | ingress_filters | Filter.Config | | Ingress filter configurations. | + | egress_filters | Filter.Config | | Egress filter configurations. | + | min_num | uint32 | | Minimum number of result to be returned. | + | aggregation_algorithm | Search.AggregationAlgorithm | | Aggregation Algorithm | + | ratio | google.protobuf.FloatValue | | Search ratio for agent return result number. | + | nprobe | uint32 | | Search nprobe. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | - - + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -1958,34 +1864,31 @@ request. - Search.Responses - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---------------------------------------------- | | responses | Search.Response | repeated | Represent the multiple search response content. | - - Search.Response - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | request_id | string | | The unique request ID. | - | results | Object.Distance | repeated | Search results. | - + | field | type | label | desc. | + | :--------: | :-------------- | :------- | :--------------------- | + | request_id | string | | The unique request ID. | + | results | Object.Distance | repeated | Search results. | - Object.Distance - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | distance | float | | The distance. | + | field | type | label | desc. | + | :------: | :----- | :---- | :------------- | + | id | string | | The vector ID. | + | distance | float | | The distance. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | diff --git a/apis/docs/v1/update.md b/apis/docs/v1/update.md index bda44822dc..00e04c28b4 100644 --- a/apis/docs/v1/update.md +++ b/apis/docs/v1/update.md @@ -59,46 +59,42 @@ A method to update an indexed vector. - Update.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | Object.Vector | | The vector to be updated. | - | config | Update.Config | | The configuration of the update request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | vector | Object.Vector | | The vector to be updated. | + | config | Update.Config | | The configuration of the update request. | - Object.Vector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - + | field | type | label | desc. | + | :-------: | :----- | :------- | :---------------------------------------------- | + | id | string | | The vector ID. | + | vector | float | repeated | The vector. | + | timestamp | int64 | | timestamp represents when this vector inserted. | - Update.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Update timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) -during update operation. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | + | filters | Filter.Config | | Filter configuration. | + | timestamp | int64 | | Update timestamp. | + | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) + during update operation. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -114,22 +110,22 @@ during update operation. | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamUpdate RPC @@ -175,46 +171,42 @@ A method to update multiple indexed vectors by bidirectional streaming. - Update.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | Object.Vector | | The vector to be updated. | - | config | Update.Config | | The configuration of the update request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | vector | Object.Vector | | The vector to be updated. | + | config | Update.Config | | The configuration of the update request. | - Object.Vector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - + | field | type | label | desc. | + | :-------: | :----- | :------- | :---------------------------------------------- | + | id | string | | The vector ID. | + | vector | float | repeated | The vector. | + | timestamp | int64 | | timestamp represents when this vector inserted. | - Update.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Update timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) -during update operation. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | + | filters | Filter.Config | | Filter configuration. | + | timestamp | int64 | | Update timestamp. | + | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) + during update operation. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -236,30 +228,29 @@ during update operation. | - Object.StreamLocation - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :------: | :---------------- | :---- | :-------------------- | + | location | Object.Location | | The vector location. | + | status | google.rpc.Status | | The RPC error status. | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## MultiUpdate RPC @@ -310,53 +301,48 @@ A method to update multiple indexed vectors in a single request. - Update.MultiRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :------: | :------------- | :------- | :--------------------------------------------- | | requests | Update.Request | repeated | Represent the multiple update request content. | - - Update.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | Object.Vector | | The vector to be updated. | - | config | Update.Config | | The configuration of the update request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | vector | Object.Vector | | The vector to be updated. | + | config | Update.Config | | The configuration of the update request. | - Object.Vector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - + | field | type | label | desc. | + | :-------: | :----- | :------- | :---------------------------------------------- | + | id | string | | The vector ID. | + | vector | float | repeated | The vector. | + | timestamp | int64 | | timestamp represents when this vector inserted. | - Update.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Update timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) -during update operation. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | skip_strict_exist_check | bool | | A flag to skip exist check during update operation. | + | filters | Filter.Config | | Filter configuration. | + | timestamp | int64 | | Update timestamp. | + | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) + during update operation. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -377,29 +363,28 @@ during update operation. | - Object.Locations - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | locations | Object.Location | repeated | | - + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---- | + | locations | Object.Location | repeated | | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## UpdateTimestamp RPC @@ -419,11 +404,11 @@ A method to update timestamp an indexed vector. - Update.TimestampRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - | force | bool | | force represents forcefully update the timestamp. | + | field | type | label | desc. | + | :-------: | :----- | :---- | :------------------------------------------------ | + | id | string | | The vector ID. | + | timestamp | int64 | | timestamp represents when this vector inserted. | + | force | bool | | force represents forcefully update the timestamp. | ### Output @@ -439,20 +424,19 @@ A method to update timestamp an indexed vector. - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | diff --git a/apis/docs/v1/upsert.md b/apis/docs/v1/upsert.md index 5fcd8e735d..1e58f06308 100644 --- a/apis/docs/v1/upsert.md +++ b/apis/docs/v1/upsert.md @@ -58,46 +58,42 @@ A method to insert/update a vector. - Upsert.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | Object.Vector | | The vector to be upserted. | - | config | Upsert.Config | | The configuration of the upsert request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | vector | Object.Vector | | The vector to be upserted. | + | config | Upsert.Config | | The configuration of the upsert request. | - Object.Vector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - + | field | type | label | desc. | + | :-------: | :----- | :------- | :---------------------------------------------- | + | id | string | | The vector ID. | + | vector | float | repeated | The vector. | + | timestamp | int64 | | timestamp represents when this vector inserted. | - Upsert.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Upsert timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) -during update operation. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | + | filters | Filter.Config | | Filter configuration. | + | timestamp | int64 | | Upsert timestamp. | + | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) + during update operation. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -113,22 +109,22 @@ during update operation. | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## StreamUpsert RPC @@ -174,46 +170,42 @@ A method to insert/update multiple vectors by bidirectional streaming. - Upsert.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | Object.Vector | | The vector to be upserted. | - | config | Upsert.Config | | The configuration of the upsert request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | vector | Object.Vector | | The vector to be upserted. | + | config | Upsert.Config | | The configuration of the upsert request. | - Object.Vector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - + | field | type | label | desc. | + | :-------: | :----- | :------- | :---------------------------------------------- | + | id | string | | The vector ID. | + | vector | float | repeated | The vector. | + | timestamp | int64 | | timestamp represents when this vector inserted. | - Upsert.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Upsert timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) -during update operation. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | + | filters | Filter.Config | | Filter configuration. | + | timestamp | int64 | | Upsert timestamp. | + | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) + during update operation. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -235,30 +227,29 @@ during update operation. | - Object.StreamLocation - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | location | Object.Location | | The vector location. | - | status | google.rpc.Status | | The RPC error status. | - + | field | type | label | desc. | + | :------: | :---------------- | :---- | :-------------------- | + | location | Object.Location | | The vector location. | + | status | google.rpc.Status | | The RPC error status. | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL | ## MultiUpsert RPC @@ -309,53 +300,48 @@ A method to insert/update multiple vectors in a single request. - Upsert.MultiRequest - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :------: | :------------- | :------- | :--------------------------------------------- | | requests | Upsert.Request | repeated | Represent the multiple upsert request content. | - - Upsert.Request - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | vector | Object.Vector | | The vector to be upserted. | - | config | Upsert.Config | | The configuration of the upsert request. | - + | field | type | label | desc. | + | :----: | :------------ | :---- | :--------------------------------------- | + | vector | Object.Vector | | The vector to be upserted. | + | config | Upsert.Config | | The configuration of the upsert request. | - Object.Vector - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | id | string | | The vector ID. | - | vector | float | repeated | The vector. | - | timestamp | int64 | | timestamp represents when this vector inserted. | - - + | field | type | label | desc. | + | :-------: | :----- | :------- | :---------------------------------------------- | + | id | string | | The vector ID. | + | vector | float | repeated | The vector. | + | timestamp | int64 | | timestamp represents when this vector inserted. | - Upsert.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | - | filters | Filter.Config | | Filter configuration. | - | timestamp | int64 | | Upsert timestamp. | - | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) -during update operation. | + | field | type | label | desc. | + | :---: | :--- | :---- | :---- | + | skip_strict_exist_check | bool | | A flag to skip exist check during upsert operation. | + | filters | Filter.Config | | Filter configuration. | + | timestamp | int64 | | Upsert timestamp. | + | disable_balanced_update | bool | | A flag to disable balanced update (split remove -> insert operation) + during update operation. | - Filter.Config - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | + | field | type | label | desc. | + | :-----: | :------------ | :------- | :----------------------------------------- | | targets | Filter.Target | repeated | Represent the filter target configuration. | - - Filter.Target - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | host | string | | The target hostname. | - | port | uint32 | | The target port. | + | field | type | label | desc. | + | :---: | :----- | :---- | :------------------- | + | host | string | | The target hostname. | + | port | uint32 | | The target port. | ### Output @@ -376,27 +362,25 @@ during update operation. | - Object.Locations - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | locations | Object.Location | repeated | | - + | field | type | label | desc. | + | :-------: | :-------------- | :------- | :---- | + | locations | Object.Location | repeated | | - Object.Location - | field | type | label | desc. | - | :---: | :--- | :---- | :---- | - | name | string | | The name of the location. | - | uuid | string | | The UUID of the vector. | - | ips | string | repeated | The IP list. | + | field | type | label | desc. | + | :---: | :----- | :------- | :------------------------ | + | name | string | | The name of the location. | + | uuid | string | | The UUID of the vector. | + | ips | string | repeated | The IP list. | ### Status Code | code | desc. | | :--: | :---------------- | -| 0 | OK | -| 1 | CANCELLED | -| 3 | INVALID_ARGUMENT | -| 4 | DEADLINE_EXCEEDED | -| 5 | NOT_FOUND | -| 13 | INTERNAL | - +| 0 | OK | +| 1 | CANCELLED | +| 3 | INVALID_ARGUMENT | +| 4 | DEADLINE_EXCEEDED | +| 5 | NOT_FOUND | +| 13 | INTERNAL |