Removes a document from the inverted index.
Deletes all posting rows for a post from search_post_terms and its field
maps from search_post_fields.
Summary
Functions
Deletes all index entries for a post across all fields.
Removes a single field from the index for a document.
Functions
Deletes all index entries for a post across all fields.
Reads the stored field maps so we know which term partitions to target, deletes the postings, then deletes the stored field rows.
Returns :ok on success or {:error, reason} on failure.
Removes a single field from the index for a document.
Document-level postings are recomputed: terms that only this field contributed are deleted; shared terms have their totals lowered. The field's stored map row is removed.