Skip to main content

Module metadata_filter

Module metadata_filter 

Source
Expand description

Bridge between MetadataFilter (nodedb-types) and document evaluation.

Converts the typed MetadataFilter enum into runtime evaluation against JSON documents. Used by both Origin (vector search pre-filter) and Lite (vector search post-filter against CRDT state).

Functions§

matches_metadata_filter
Evaluate a MetadataFilter against a JSON document.