Qdrant · Schema
FieldCondition
All possible payload filtering conditions
AIArtificial IntelligenceVector Databases
Properties
| Name | Type | Description |
|---|---|---|
| key | string | Payload key |
| match | object | Check if point has field with a given value |
| range | object | Check if points value lies in a given range |
| geo_bounding_box | object | Check if points geolocation lies in a given area |
| geo_radius | object | Check if geo point is within a given radius |
| geo_polygon | object | Check if geo point is within a given polygon |
| values_count | object | Check number of values of the field |
| is_empty | boolean | Check that the field is empty, alternative syntax for `is_empty: "field_name"` |
| is_null | boolean | Check that the field is null, alternative syntax for `is_null: "field_name"` |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/FieldCondition",
"title": "FieldCondition",
"description": "All possible payload filtering conditions",
"type": "object",
"required": [
"key"
],
"properties": {
"key": {
"description": "Payload key",
"type": "string"
},
"match": {
"description": "Check if point has field with a given value",
"anyOf": [
{
"$ref": "#/components/schemas/Match"
},
{
"nullable": true
}
]
},
"range": {
"description": "Check if points value lies in a given range",
"anyOf": [
{
"$ref": "#/components/schemas/RangeInterface"
},
{
"nullable": true
}
]
},
"geo_bounding_box": {
"description": "Check if points geolocation lies in a given area",
"anyOf": [
{
"$ref": "#/components/schemas/GeoBoundingBox"
},
{
"nullable": true
}
]
},
"geo_radius": {
"description": "Check if geo point is within a given radius",
"anyOf": [
{
"$ref": "#/components/schemas/GeoRadius"
},
{
"nullable": true
}
]
},
"geo_polygon": {
"description": "Check if geo point is within a given polygon",
"anyOf": [
{
"$ref": "#/components/schemas/GeoPolygon"
},
{
"nullable": true
}
]
},
"values_count": {
"description": "Check number of values of the field",
"anyOf": [
{
"$ref": "#/components/schemas/ValuesCount"
},
{
"nullable": true
}
]
},
"is_empty": {
"description": "Check that the field is empty, alternative syntax for `is_empty: \"field_name\"`",
"type": "boolean",
"nullable": true
},
"is_null": {
"description": "Check that the field is null, alternative syntax for `is_null: \"field_name\"`",
"type": "boolean",
"nullable": true
}
}
}