@moss-dev/moss / MetadataFilterDocumentation Index
Fetch the complete documentation index at: https://docs.moss.dev/llms.txt
Use this file to discover all available pages before exploring further.
Type Alias: MetadataFilter
Composable metadata filter passed toQueryOptions.filter. Metadata
filtering narrows query results to only documents whose metadata satisfies the filter. It is
evaluated on the loaded (local) index; load the index via loadIndex() before querying.
Shapes
- Field condition — compare a single metadata field using a
FilterConditionoperator. $and— logical AND of nested filters; a document must satisfy every entry.$or— logical OR of nested filters; a document must satisfy at least one entry.