Skip to main content
Attach metadata to documents at index time, then constrain queries to the documents whose metadata matches a filter. Filtering is evaluated on the locally loaded index, so call load_index() (or open a session) before querying with a filter.

Operators

Compose multiple conditions with $and / $or (nestable). A single condition can be passed on its own without a wrapper.

Implementation

Runnable, per-language examples (catalog filters, geo $near, and filtering inside a session) live in the SDK guides:

Hybrid search

Blend semantic and keyword scoring.

Retrieval

Retrieval strategies overview.