Navigate a neighbour graph
A useful starting point for similarity search. Tune the graph and search breadth, then measure the recall your application needs.
Metadata filtering: candidate post-filteringVector search
Store embeddings, retrieve nearby matches and connect each result to its application record.
A simplified projection. Search uses the full embedding, not this picture.
“Something warm for a mountain hike”
“A quiet weekend close to nature”
“How do I get back into my account?”
Find relevant content even when a query uses different words. Your application supplies the embeddings; OriginChainDB indexes and searches them.
Generate vectors with your model and write them with record IDs. Include the metadata you need for filtering at write time.
Submit a query embedding, choose a distance metric and fetch the records behind the returned IDs. Keep model and dimensions consistent.
Metadata filters use exact equality. Filtering behaviour varies by index; IVF-PQ filtering is not supported.
Try a metadata filterMemory, query effort and recall pull in different directions. Choose with measurements from your own dataset.
A useful starting point for similarity search. Tune the graph and search breadth, then measure the recall your application needs.
Metadata filtering: candidate post-filteringOrganize vectors into cells and control how many are probed. More probes inspect more candidates, with a corresponding query cost.
Metadata filtering: during cell scansEvaluate a smaller vector representation when memory matters. Test the effect of compression on your data and recall target.
Metadata filtering: not supportedWrite dense and sparse vectors under matching IDs. The hybrid endpoint combines their rankings so your application can retrieve one set of candidates.
This endpoint fuses vector rankings. Full-text BM25 is a separate search path.
Build a hybrid queryUse shared IDs across records, vectors, graph relationships and searchable text to assemble the context your application needs.
Explore retrieval patternsStart with HNSW, then evaluate IVF or IVF-PQ when your workload calls for a different memory and recall trade-off.
Compare vector indexesUse the hybrid vector endpoint to combine both rankings with reciprocal rank fusion and return one list of matches.
Try hybrid retrievalReview index setup, filtering behaviour and memory requirements. Measure recall on your own data before changing the default.
Vector index guideUse the dedicated vector record API for indexes, namespaces and supplied vectors with metadata.
Vector record APIOn dedicated configurations, use a saved embedder and an explicit row limit to generate vectors from selected text.
Embedding runsWrite both representations under the same ID and fuse their ranked results through the hybrid top-k endpoint.
Hybrid retrieval example