mneme.ft:put

mneme

ft:put(doc_id, text) -> ok, err

Index a document for full-text search

Stores the document text and indexes it for BM25 search. If a document with the same ID already exists, it is updated (old index entries are removed first). When indexing is paused, the text is stored but not indexed until rebuild_index() is called.