Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.topk.io/llms.txt

Use this file to discover all available pages before exploring further.

TopK Database is a search engine for building fast semantic search, vector search, keyword (BM25) search, sparse vector search, multi-vector search or a combination of these — all within a single query. It is powering the TopK Context Engine and is also available as a standalone solution via Python SDK, JavaScript SDK or Rust SDK.

Guides

Semantic Search

Get started with semantic search using natural language.

Vector Search

Bring your own embeddings and run nearest-neighbor search.

Sparse Vector Search

Efficient high-dimensional retrieval using sparse representations.

Multi-Vector Search

Index and query multiple vector fields per document.

Keyword Search

BM25-based full-text search for term matching across documents.

True Hybrid Search

Combine semantic and keyword signals in a single query.

APIs

Document API

Upsert, query, get, and delete documents.

Management API

Create, list, get, and delete collections.

SDKs

https://mintcdn.com/topk/8NBkS0nek3e9o6Vi/icons/python.svg?fit=max&auto=format&n=8NBkS0nek3e9o6Vi&q=85&s=97cbee7891538170fd752e1afbc98095

Python SDK

Full Python SDK reference.
https://mintcdn.com/topk/8NBkS0nek3e9o6Vi/icons/js.svg?fit=max&auto=format&n=8NBkS0nek3e9o6Vi&q=85&s=7642cf18b45f52a70f141214b3d0eca1

JavaScript SDK

Full TypeScript/JavaScript SDK reference.

Digging Deeper

Consistency

Understand TopK’s consistency model and write freshness guarantees.

Multi-Tenancy

Partition data by tenant within a single collection.