Skip to content
Proyectos

Acerca de

Full-text, sparse and dense vector search in Rust, with gRPC and WebAssembly.

Datos y análisis

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
+1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Summa

Documentation and blog · Summa 2 migration

Embeddable Rust search engine: BM25 and phrase search, sparse vectors (BMP, MaxScore, Seismic), dense search (flat, TQ, IVF-TQ, binary IVF, ScaNN), and hybrid ranking. Run locally, behind gRPC, or in a browser over HTTP/IPFS with WASM.

  • Chunked and multi-value fields, filters, fusion, formula ranking, and reranking.
  • Primary-key deletion, full-document upserts, content-hash deduplication, and compaction.
  • Sharded search through a broker with shared BM25 statistics.
  • A separate MAL-defined Transformer/Mamba stack for training, inference, and inspection.

Documentation · Schema · Query syntax · Contributing

Quick start

Run in a new working directory:

cargo install summa-tool
summa-tool init -i ./articles --sdl 'index articles {
    field id: text<raw> [primary, stored]
    field title: text<en_stem> [indexed, stored]
}'
printf '%s\n' '{"id":"1","title":"Hybrid search with Summa"}' |
  summa-tool index -i ./articles --stdin
summa-tool search -i ./articles --query 'title:hybrid' --limit 10

index commits before returning. For remote access:

cargo install summa-server
summa-server --data-dir . --addr 127.0.0.1:50051

Connect with the Python or TypeScript client. See server operations for resource limits and maintenance.

Packages

Package Purpose
summa-core Rust storage, indexing, and query library
summa-tool Index CLI and JSONL processing
summa-server gRPC search and indexing
summa-broker Shard routing and distributed search
summa-k8s-manager Kubernetes operator and cluster console
summa-proto Shared gRPC contract
Python client Async gRPC client
TypeScript client Node.js gRPC client
summa-wasm Browser search and local indexing
summa-web Vue/WASM search UI
summa-llm Inference, generation, and model traces
summa-train Training and evaluation workflows
summa-model-lab Local model observability UI
summa-mal Model Architecture Language parser
summa-mal-python Python MAL bindings
summa-tokenizer Byte-level BPE tokenizer

Development

Use the pinned Rust toolchain and protoc:

cargo build --release
python3 scripts/check_search.py check
uv run scripts/check_docs.py

Read AGENTS.md and the search contract before search changes. See Contributing for client, WASM, and

License

MIT

Explorar proyectos relacionados

Cargando…