interface WeaviateFilter { distance?: number; where: { operands?: ({ operands?: ...[] | undefined; operator?: "And" | "Or" | "Equal" | "NotEqual" | "LessThan" | "LessThanEqual" | "GreaterThan" | "GreaterThanEqual" | "Like" | "WithinGeoRange" | "IsNull" | "ContainsAny" | "ContainsAll" | undefined; ... 13 more ...; valueGeoRange?: { ...; } | undefined; }
)[]; operator?: | "And" | "Or" | "Equal" | "NotEqual" | "LessThan" | "LessThanEqual" | "GreaterThan" | "GreaterThanEqual" | "Like" | "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[]; }; } Properties
Optional
distance
distance?: number
where
where: {
operands?: ({ operands?: ...[] | undefined; operator?: "And" | "Or" | "Equal" | "NotEqual" | "LessThan" | "LessThanEqual" | "GreaterThan" | "GreaterThanEqual" | "Like" | "WithinGeoRange" | "IsNull" | "ContainsAny" | "ContainsAll" | undefined; ... 13 more ...; valueGeoRange?: { ...; } | undefined; })[];
operator?:
| "And"
| "Or"
| "Equal"
| "NotEqual"
| "LessThan"
| "LessThanEqual"
| "GreaterThan"
| "GreaterThanEqual"
| "Like"
| "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" | "NotEqual" | "LessThan" | "LessThanEqual" | "GreaterThan" | "GreaterThanEqual" | "Like" | "WithinGeoRange" | "IsNull" | "ContainsAny" | "ContainsAll" | undefined; ... 13 more ...; valueGeoRange?: { ...; } | undefined; })[]
Optional
operator?:
| "And"
| "Or"
| "Equal"
| "NotEqual"
| "LessThan"
| "LessThanEqual"
| "GreaterThan"
| "GreaterThanEqual"
| "Like"
| "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[]
Interface that defines a filter for querying data from Weaviate. It includes a distance and a
WhereFilter
.