bayard-proto

Join the chat at https://gitter.im/bayard-search/bayard License: MIT

Bayard is a full-text search and indexing server written in Rust built on top of Tantivy that implements Raft Consensus Algorithm and gRPC.
Achieves consensus across all the nodes, ensures every change made to the system is made to a quorum of nodes.
Bayard makes easy for programmers to develop search applications with advanced features and high availability.

Requirement

The following products are required to build:

Install protoc-gen-rust

shell script $ cargo install protobuf-codegen $ cargo install grpcio-compiler --version=0.4.3

Install protoc-gen-grpc-web

shell script $ curl -o /usr/local/bin/protoc-gen-grpc-web -L https://github.com/grpc/grpc-web/releases/download/1.2.1/protoc-gen-grpc-web-1.2.1-darwin-x86_64 $ chmod +x /usr/local/bin/protoc-gen-grpc-web ls

Install protoc-gen-go

shell script $ go get -u github.com/golang/protobuf/protoc-gen-go

Generate code

Rust

shell script $ ./protoc_rust.sh

gRPC-Web (JavaScript)

shell script $ ./protoc_grpc-web.sh

Go

shell script $ ./protoc_go.sh

Build

% make build