SKEG · START

User manual

Read the data model, record management, search and administration in order.

Skeg 0.8 · Development documentation

Use this manual to understand the data Skeg stores, build an application around it and operate its server. Read the sections in order for a complete tour, or go directly to the task you need.

New terms are collected in the glossary.

Start with installation and your first search. Then use the quickstart to write to an authenticated server and check the data after a restart. The chapters below explain the choices behind that example and how they apply to your own data. Continue with local embeddings for a complete text-to-vector-to-article example using Ollama.

1. Understand the data

Start with the data model: tenants, key-value records, vector indexes, row IDs and payloads. It explains which objects are connected by Skeg and which relationships your application maintains.

Then read vector search for embeddings, similarity scores and approximate results. Use architecture to understand graph search, quantization, reranking and storage shards.

2. Store and maintain records

  • Key-value records: write and retrieve content, work with binary values, use counters and understand multi-key operations.
  • Manage indexes: choose settings, create, inspect, consolidate and remove an index.
  • Batch ingestion: bound requests, inspect every item outcome and repair an incomplete import.
  • Update and delete data: replace vectors and metadata, read rows by ID, and remove their application records.
  • Write outcomes: handle explicit refusals, partial completion, timeouts and safe retries.

Keep the model and dimension of your embeddings consistent within an index. An index name does not identify an embedding model; your application must keep that association.

3. Retrieve the right results

Search returns IDs and scores, optionally with payloads. Retrieving a document’s text from a KV record is a separate application read.

4. Separate tenants and control access

Authentication and tenants covers login identities, namespaces, vector and logical disk quotas, and connection setup. Use tenant authentication for access boundaries; payload filters express application conditions within a search.

5. Operate the store

Read deployment before exposing a listener or choosing a filesystem. Follow operations for memory planning, maintenance and graceful shutdown, and observability for metrics and diagnostics. The monitoring guide distinguishes listener reachability, maintenance state and consistency checks, and connects each signal to an investigation step.

Keep recovery procedures alongside your application:

6. Look up an exact contract

ReferenceUse it to find
Vector APIIndex options, vector operations, result formats and capabilities
Payload fields and filtersTypes, grammar, missing-field rules and negation
Protocol compatibilitySupported RESP commands, atomicity boundaries and native-wire differences
Server configurationYAML and TOML, validation, precedence and defaults
Metric semantics and coverageMetric types, units, observation boundaries and update cadence
GlossaryThe meaning of terms used across the manual
Clients and integrationsLanguage clients, embedding adapters and operator tools

For troubleshooting, keep the command, its response, the server version and the relevant startup settings. Avoid inferring a command’s result from a timeout: the connection may have been lost after the server applied a write.