1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
#![deny(
non_shorthand_field_patterns,
no_mangle_generic_items,
overflowing_literals,
path_statements,
unused_allocation,
unused_comparisons,
unused_parens,
while_true,
trivial_numeric_casts,
unused_extern_crates,
unused_import_braces,
unused_qualifications,
unused_must_use,
clippy::unwrap_used
)]
//! Fast full-text search server
//!
//! ### Features
//! - Fine CLI and asynchronous client library [aiosumma](aiosumma/README.md) written in Python
//! - Simple GRPC API for managing multiple indices and for search
//! - Extendable query parsing on Python client side
//! - Ranking documents with custom and/or user-defined scoring functions
//! - Indexing documents through Kafka or directly
//! - Tracing with [OpenTelemetry](https://github.com/open-telemetry/opentelemetry-rust) and exposing metrics in Prometheus format
//! - Reflection API for deep insights about text data
//! - Configurable tokenizers (including CJK)
//! - IPFS Integration
//!
//! ## Getting started
//! - Look at [examples](crate::examples)
//! - Explore [Docs.rs](https://docs.rs/crate/summa/latest)
#[macro_use]
extern crate derive_builder;
pub mod apis;
pub mod components;
pub mod configs;
pub mod errors;
pub mod logging;
pub mod server;
pub mod services;
pub(crate) mod utils;
pub use errors::SummaServerResult;
pub use server::Server;
pub use utils::{ControlMessage, ThreadHandler};