arc-vector-rust
Rust client for arc vector search engine.
Installation
Or add the following line to your Cargo.toml:
Package is available in crates.io
Dependencies
The client uses gRPC via the Tonic library.
To change anything in the protocol buffer definitions, you need the protoc
Protocol Buffers compiler, along with Protocol Buffers resource files.
Refer to the Tonic installation guide for more details.
Usage
Run ArcVector with enabled gRPC interface:
# With env variable
Or by updating the configuration file:
service:
grpc_port: 6334
More info about gRPC in documentation.
Making requests
Add necessary dependencies:
Add search example from examples/search.rs
to your src/main.rs
:
Or run the example from this project directly: