qdrant_client.local.payload_filters module¶
- calculate_payload_mask(payloads: List[dict], payload_filter: Optional[Filter], ids_inv: List[Union[int[int], str[str]]]) ndarray [source]¶
- check_condition(condition: Union[FieldCondition, IsEmptyCondition, IsNullCondition, HasIdCondition, NestedCondition, Filter], payload: dict, point_id: Union[int[int], str[str]]) bool [source]¶
- check_datetime_range(condition: DatetimeRange, value: Any) bool [source]¶
- check_filter(payload_filter: Filter, payload: dict, point_id: Union[int[int], str[str]]) bool [source]¶
- check_geo_bounding_box(condition: GeoBoundingBox, values: Any) bool [source]¶
- check_geo_polygon(condition: GeoPolygon, values: Any) bool [source]¶
- check_match(condition: Union[MatchValue, MatchText, MatchAny, MatchExcept], value: Any) bool [source]¶
- check_min_should(conditions: List[Union[FieldCondition, IsEmptyCondition, IsNullCondition, HasIdCondition, NestedCondition, Filter]], payload: dict, point_id: Union[int[int], str[str]], min_count: int) bool [source]¶
- check_must(conditions: List[Union[FieldCondition, IsEmptyCondition, IsNullCondition, HasIdCondition, NestedCondition, Filter]], payload: dict, point_id: Union[int[int], str[str]]) bool [source]¶
- check_must_not(conditions: List[Union[FieldCondition, IsEmptyCondition, IsNullCondition, HasIdCondition, NestedCondition, Filter]], payload: dict, point_id: Union[int[int], str[str]]) bool [source]¶
- check_range_interface(condition: Union[Range, DatetimeRange], value: Any) bool [source]¶
- check_should(conditions: List[Union[FieldCondition, IsEmptyCondition, IsNullCondition, HasIdCondition, NestedCondition, Filter]], payload: dict, point_id: Union[int[int], str[str]]) bool [source]¶
- check_values_count(condition: ValuesCount, values: Optional[List[Any]]) bool [source]¶