Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flush api #1895

Closed
wants to merge 29 commits into from
Closed
Show file tree
Hide file tree
Changes from 28 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,6 @@ tools/install: \
helm/install \
kind/install \
valdcli/install \
telepresence/install \
textlint/install

.PHONY: update
Expand Down
28 changes: 28 additions & 0 deletions apis/docs/v1/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
- [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.CPU](#payload-v1-Info-CPU)
- [Info.IPs](#payload-v1-Info-IPs)
Expand Down Expand Up @@ -92,6 +94,8 @@

- [apis/proto/v1/vald/filter.proto](#apis_proto_v1_vald_filter-proto)
- [Filter](#vald-v1-Filter)
- [apis/proto/v1/vald/flush.proto](#apis_proto_v1_vald_flush-proto)
- [Flush](#vald-v1-Flush)
- [apis/proto/v1/vald/insert.proto](#apis_proto_v1_vald_insert-proto)
- [Insert](#vald-v1-Insert)
- [apis/proto/v1/vald/object.proto](#apis_proto_v1_vald_object-proto)
Expand Down Expand Up @@ -280,6 +284,14 @@ Represent the target filter server.
| host | [string](#string) | | The target hostname. |
| port | [uint32](#uint32) | | The target port. |

<a name="payload-v1-Flush"></a>

### Flush

<a name="payload-v1-Flush-Request"></a>

### Flush.Request

<a name="payload-v1-Info"></a>

### Info
Expand Down Expand Up @@ -957,6 +969,22 @@ Filter service provides ways to connect to Vald through filter.
| 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. |

<a name="apis_proto_v1_vald_flush-proto"></a>

<p align="right"><a href="#top">Top</a></p>

## apis/proto/v1/vald/flush.proto

<a name="vald-v1-Flush"></a>

### 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. |

<a name="apis_proto_v1_vald_insert-proto"></a>

<p align="right"><a href="#top">Top</a></p>
Expand Down
Loading