Skip to main content

Module curation

Module curation 

Source
Expand description

Curation operations: entity update/merge and edge-list filter type.

Structs§

EdgeListFilter
Filter for list_edges / count_edges.
EdgePatch
Patch for update_edge. Only Some(_) fields are applied; None means “leave unchanged”.
EntityPatch
Patch for update_entity. Only Some(_) fields are applied; None means “leave unchanged”.
MergeSummary
Result returned by merge_entity / merge_note.
NotePatch
Patch for update_note. Only Some(_) fields are applied; None means “leave unchanged”.

Enums§

ContentMergeStrategy
Strategy for merging note content when two notes are combined.
EntityDedupMergePolicy
Policy used when deduplicating two entities.

Functions§

entity_fts_document
Build the TextDocument for an entity. This is the single source of truth for entity FTS document shape; all write paths (create, update, merge, reindex, backfill) must go through this function so search parity is guaranteed.
note_fts_document
Build the TextDocument for a note. This is the single source of truth for note FTS document shape; all write paths (create, update, reindex) must go through this function so recall parity is guaranteed. Changes here apply to every caller automatically.