load_index()
(or open a session) before querying with a filter.
Operators
| Operator | Meaning |
|---|---|
$eq, $ne | equals / not equals |
$gt, $gte, $lt, $lte | greater / less than |
$in, $nin | value in / not in a list |
$near | within a haversine distance of a point: "lat,lng,radiusMeters" |
$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:
Related
Hybrid search
Blend semantic and keyword scoring.
Retrieval
Retrieval strategies overview.