fts_index — minimal document
Index a document under a (table, field) inverted index. The tokenizer (UAX #29 Unicode) and stemmer come from the manifest.
curl -X POST "$ENGINE/v1/tenants/$T/fts/articles/body" \
-H "Authorization: Bearer $OC_TOKEN" \
-H "Content-Type: application/json" \
-d @- <<'JSON'
{
"doc_id": "post-001",
"text": "OriginChain runs SQL, vector, full-text, and graph against one database."
}
JSON {
"indexed": 1,
"doc_id": "post-001",
"tokens": 12,
"lsn": 41827601,
"elapsed_ms": 4
}