Skip to main content

laurus_server/
lib.rs

1//! `laurus-server` provides a gRPC server and an optional HTTP gateway (gRPC-Gateway)
2//! for the laurus search engine.
3//!
4//! The crate exposes four gRPC services:
5//!
6//! * **HealthService** – health-check endpoint.
7//! * **IndexService** – index creation and schema management.
8//! * **DocumentService** – document CRUD and commit operations.
9//! * **SearchService** – lexical, vector, and hybrid search.
10//!
11//! When `http_port` is configured, an HTTP/JSON gateway is started alongside the gRPC server
12//! so that clients can use either protocol.
13
14pub mod config;
15mod context;
16mod convert;
17pub mod gateway;
18pub mod server;
19mod service;
20
21/// Generated protobuf/gRPC code.
22pub mod proto {
23    pub mod laurus {
24        pub mod v1 {
25            tonic::include_proto!("laurus.v1");
26        }
27    }
28}