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

★ 298⑂ 11👁 3⑃ 219● 19▤ 1
RustCreated 2020-10-21spacefrontiers.github.io/summa/
下载:Summa 2.2.6Summa-2.2.6 ↓2.2.62026-09-25
+0
日增长
298
stars
11
forks
3
watchers
219
prs
19
issues
1
releases

README

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:

bash
cargo install summa-tool
summa-tool init -i ./articles --sdl 'index articles {
    field id: text [primary, stored]
    field title: text [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:

bash
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:

bash
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

Latest release

Summa 2.2.6 v2.2.6 2026-09-25
Source release for Summa 2.2.6.

See the documentation for build and usage instructions.

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON