Open MercatoDocsSearch docsAPI reference

Framework

JSONB indexing layer

The query index flattens selected record data into a searchable JSON document. It pays off on a list that repeatedly combines base and custom fields. Follow a write through indexing to understand when an updated value becomes visible.

Goal: make querying base entities together with custom fields fast and simple by maintaining a flat, query-friendly JSONB index per entity record, without breaking module isomorphism or schema agility. See the Hybrid query engine for runtime usage.

What you get

Storage

Document shape

Encryption

Indexer

Events and consistency

Query routing

Backfill

Performance tips

Limitations and notes

Coverage refresh triggers

Debugging SQL output

Previous: Query engine · Next: Events and Subscribers