Skip to content

Commit

Permalink
add search ratio for limit forwarding search k size for agent & add d…
Browse files Browse the repository at this point in the history
…isable_async_rerankin option to use primitive sort rerank

Signed-off-by: kpango <kpango@vdaas.org>
  • Loading branch information
kpango committed Mar 28, 2024
1 parent 179ce6f commit 6b44237
Show file tree
Hide file tree
Showing 41 changed files with 2,442 additions and 28 deletions.
15 changes: 15 additions & 0 deletions apis/docs/v1/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,7 @@ Search related messages.

Represent search configuration.

<<<<<<< HEAD
| Field | Type | Label | Description |
| --------------------- | ---------------------------------------------------------------------- | ----- | ---------------------------------------- |
| request_id | [string](#string) | | Unique request ID. |
Expand All @@ -806,6 +807,20 @@ Represent search configuration.
| 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 |
=======
| Field | Type | Label | Description |
| -------------------- | ------------------------------------------ | ----- | ---------------------------------------- |
| request_id | [string](#string) | | Unique request ID. |
| num | [uint32](#uint32) | | Maximum number of result to be returned. |
| min_num | [uint32](#uint32) | | Minimum number of result to be returned. |
| radius | [float](#float) | | Search radius. |
| epsilon | [float](#float) | | Search coefficient. |
| ratio | [float](#float) | | Search number of agent ratio. |
| timeout | [int64](#int64) | | Search timeout in nanoseconds. |
| disable_async_rerank | [bool](#bool) | | Disables asynchronous reranking |
| ingress_filters | [Filter.Config](#payload-v1-Filter-Config) | | Ingress filter configurations. |
| egress_filters | [Filter.Config](#payload-v1-Filter-Config) | | Egress filter configurations. |
>>>>>>> feature/gateway-lb/add-search-ratio-for-limited-forwarding-to-agent-and-add-new-sort-algos
<a name="payload-v1-Search-IDRequest"></a>

Expand Down
6 changes: 6 additions & 0 deletions apis/grpc/v1/agent/core/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions apis/grpc/v1/agent/sidecar/sidecar.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions apis/grpc/v1/discoverer/discoverer.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions apis/grpc/v1/filter/egress/egress_filter.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions apis/grpc/v1/filter/ingress/ingress_filter.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions apis/grpc/v1/manager/index/index_manager.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6b44237

Please sign in to comment.