OriginChain docs
examples · fts

Full-text search examples

← All examples

6 full-text search examples, each on its own page. FTS on OriginChain is a runtime endpoint - you POST documents to a field and query them back, no schema declaration required. Every example has side-by-side cURL / Python / TypeScript / Go, the response shape, and notes on common mistakes.

The endpoint takes the form /v1/tenants/:t/fts/<schema>/<field>. Each field is its own independent inverted index. The doc_id you supply at index time is what comes back at search time - typically the row's primary key.