Examples
There are 73 worked examples here, spread across 8 sections, covering every query shape OriginChainDB supports. Each one is its own page carrying the schema and seed data it needs, side-by-side cURL / Python / TypeScript / Go, the response shape, and the mistakes that break it.
Pick a section to see its index. The count on each card is the number of examples in it.
SELECT, WHERE filters, JOINs, GROUP BY + aggregates, writes via /sql, plan inspection. Plus a few roadmap features so you know what's coming.
Single insert, insert with metadata, top-k by each metric, fast vs high_recall mode, filtered top-k. Working request and response bodies.
Index a doc, boolean AND, exact phrase, ranked BM25, and multi-field weighted merge. Side-by-side cURL and Python.
Point the @elastic client at OriginChainDB: create an index, index and _bulk-load docs, match / bool queries, aggregations, search_after, and delete_by_query.
Forward and reverse neighbors, depth-bounded BFS, reachability, weighted shortest path, all simple paths, PageRank. One example per page.
Simple count, schemas hint, show_plan, NL JOIN, cache-hit replay, error recovery. The full /ask round-trip with rows + cache metadata.
Recipes that save a row, its vector embedding, its full-text index, and its graph edge in one coordinated write.
Every HTTP error code you can hit, with the request that triggers it and the canonical response body. Includes addon-required, rate-limit, and conflict cases.
Looking for the per-shape reference instead of recipes? See SQL, vector, full-text, graph, and natural language. For schema design, see Schemas.