Skeg documentation
Start with a complete example, then find the guide for your task.
Skeg 0.8 · Development documentation
Skeg stores key-value records and searches vector indexes. Your application supplies the vectors for the items it wants to find.
Read the user manual for a structured path through the data model, record management, search, tenancy and server administration.
Install Skeg and check that the server starts locally.
Run your first search
Your first search starts a local server, stores three help-centre articles and retrieves their titles through vector search. It uses fixed vectors and a Python client.
Then follow the quickstart with the Skeg CLI, Python or Rust to require a login and check that a durable index survives a restart.
Use search text with local embeddings to generate vectors from article text and a question, and retrieve the matching articles using a local model.
If vectors are new to you, read from a question to search results. It explains what the numbers represent, how a similarity score is calculated and why a search can miss a good result.
What do you want to do next?
| Your task | Where to go |
|---|---|
| Understand tenants, records, indexes and row IDs | The data model |
| Store document text, binary values or counters | Key-value records |
| Generate embeddings and search actual text | Search text with local embeddings |
| Create, inspect or remove an index | Manage vector indexes |
| Load a dataset and repair failed rows | Batch ingestion |
| Decide what to do after an error or timeout | Write outcomes and retries |
| Interpret scores and decode a search response | Search requests and results |
| Investigate a missing or unexpected hit | Troubleshoot search |
| Restrict results to a language, date or category | Payloads and filters |
| Look up filter types, grammar and missing-field behavior | Payload and filter reference |
| Find a useful balance between search quality and response time | Search effort |
| Update or remove an article | Update and delete data |
| Keep different users’ data in separate namespaces | Authentication and tenants |
| Look up a vector command or response format | Vector API |
| Check which Redis commands Skeg supports | Protocol compatibility |
| Put a server into service | Deployment |
| Plan memory use and shut down safely | Operations |
| Save and check a copy of the store | Backup and restore |
| Move a 0.7 store to Skeg 0.8 | Upgrade from Skeg 0.7 to 0.8 |
| Configure a server and check which settings will apply | Server configuration |
| Investigate a slow query or monitor a running server | Observability |
| Understand what happens inside the process | How Skeg stores and searches data |
| Connect a client or ingestion tool | Clients and integrations |