interface WeaviateFilter { where: { operands?: ({ operands?: ...[] | undefined; operator?: "And" | "Or" | "Equal" | "Like" | "NotEqual" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual" | "WithinGeoRange" | "IsNull" | "ContainsAny" | "ContainsAll" | undefined; ... 13 more ...; valueGeoRange?: { ...; } | undefined; }
)[]; operator?: | "And" | "Or" | "Equal" | "Like" | "NotEqual" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual" | "WithinGeoRange" | "IsNull" | "ContainsAny" | "ContainsAll"; path?: string[]; valueBoolean?: boolean; valueBooleanArray?: boolean[]; valueDate?: string; valueDateArray?: string[]; valueGeoRange?: { distance?: { max?: number; }; geoCoordinates?: { latitude?: number; longitude?: number; }; }; valueInt?: number; valueIntArray?: number[]; valueNumber?: number; valueNumberArray?: number[]; valueString?: string; valueStringArray?: string[]; valueText?: string; valueTextArray?: string[]; }; distance?: number; } Properties
where
where: {
operands?: ({ operands?: ...[] | undefined; operator?: "And" | "Or" | "Equal" | "Like" | "NotEqual" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual" | "WithinGeoRange" | "IsNull" | "ContainsAny" | "ContainsAll" | undefined; ... 13 more ...; valueGeoRange?: { ...; } | undefined; })[];
operator?:
| "And"
| "Or"
| "Equal"
| "Like"
| "NotEqual"
| "GreaterThan"
| "GreaterThanEqual"
| "LessThan"
| "LessThanEqual"
| "WithinGeoRange"
| "IsNull"
| "ContainsAny"
| "ContainsAll";
path?: string[];
valueBoolean?: boolean;
valueBooleanArray?: boolean[];
valueDate?: string;
valueDateArray?: string[];
valueGeoRange?: {
distance?: {
max?: number;
};
geoCoordinates?: {
latitude?: number;
longitude?: number;
};
};
valueInt?: number;
valueIntArray?: number[];
valueNumber?: number;
valueNumberArray?: number[];
valueString?: string;
valueStringArray?: string[];
valueText?: string;
valueTextArray?: string[];
}
Type declaration
Optional
operands?: ({ operands?: ...[] | undefined; operator?: "And" | "Or" | "Equal" | "Like" | "NotEqual" | "GreaterThan" | "GreaterThanEqual" | "LessThan" | "LessThanEqual" | "WithinGeoRange" | "IsNull" | "ContainsAny" | "ContainsAll" | undefined; ... 13 more ...; valueGeoRange?: { ...; } | undefined; })[]
Optional
operator?:
| "And"
| "Or"
| "Equal"
| "Like"
| "NotEqual"
| "GreaterThan"
| "GreaterThanEqual"
| "LessThan"
| "LessThanEqual"
| "WithinGeoRange"
| "IsNull"
| "ContainsAny"
| "ContainsAll"
Optional
path?: string[]
Optional
valueBoolean?: boolean
Optional
valueBooleanArray?: boolean[]
Optional
valueDate?: string
Optional
valueDateArray?: string[]
Optional
valueGeoRange?: {
distance?: {
max?: number;
};
geoCoordinates?: {
latitude?: number;
longitude?: number;
};
}
Optional
distance?: {
max?: number;
}
Optional
geoCoordinates?: {
latitude?: number;
longitude?: number;
}
Optional
latitude?: number
Optional
longitude?: number
Optional
valueInt?: number
Optional
valueIntArray?: number[]
Optional
valueNumber?: number
Optional
valueNumberArray?: number[]
Optional
valueString?: string
Optional
valueStringArray?: string[]
Optional
valueText?: string
Optional
valueTextArray?: string[]
Optional
distance
distance?: number
Interface that defines a filter for querying data from Weaviate. It includes a distance and a
WhereFilter
.