Visit Comparison Output Visit Comparison Output : { geo_bounding_box ?: null | Record < string , unknown > | { bottom_right : { lat : number ; lon : number ; } ; top_left : { lat : number ; lon : number ; } ; } ; geo_polygon ?: null | Record < string , unknown > | { exterior : { points : { lat : number ; lon : number ; } [] ; } ; interiors ?: null | { points : { lat : number ; lon : number ; } [] ; } [] ; } ; geo_radius ?: null | Record < string , unknown > | { center : { lat : number ; lon : number ; } ; radius : number ; } ; key : string ; match ?: | null | Record < string , unknown > | { value : string | number | boolean ; } | { text : string ; } | { any : string [] | number [] ; } | { except : string [] | number [] ; } ; range ?: | null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } | { gt ?: null | string ; gte ?: null | string ; lt ?: null | string ; lte ?: null | string ; } ; values_count ?: null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } ; }
Type declaration Optional
geo_ bounding_ box ?: null | Record < string , unknown > | { bottom_right : { lat : number ; lon : number ; } ; top_left : { lat : number ; lon : number ; } ; } Optional
geo_ polygon ?: null | Record < string , unknown > | { exterior : { points : { lat : number ; lon : number ; } [] ; } ; interiors ?: null | { points : { lat : number ; lon : number ; } [] ; } [] ; } Optional
geo_ radius ?: null | Record < string , unknown > | { center : { lat : number ; lon : number ; } ; radius : number ; } key : string Optional
match ?: | null | Record < string , unknown > | { value : string | number | boolean ; } | { text : string ; } | { any : string [] | number [] ; } | { except : string [] | number [] ; } Optional
range ?: | null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } | { gt ?: null | string ; gte ?: null | string ; lt ?: null | string ; lte ?: null | string ; } Optional
values_ count ?: null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } Visit Operation Output Visit Operation Output : { min_should ?: null | Record < string , unknown > | { conditions : ( | ( { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...) | { geo_bounding_box ?: null | Record < string , unknown > | { bottom_right : { lat : number ; lon : number ; } ; top_left : { lat : number ; lon : number ; } ; } ; geo_polygon ?: null | Record < string , unknown > | { exterior : { points : { lat : ...; lon : ...; } [] ; } ; interiors ?: null | { points : ...; } [] ; } ; geo_radius ?: null | Record < string , unknown > | { center : { lat : number ; lon : number ; } ; radius : number ; } ; key : string ; match ?: | null | Record < string , unknown > | { value : string | number | boolean ; } | { text : string ; } | { any : string [] | number [] ; } | { except : string [] | number [] ; } ; range ?: | null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } | { gt ?: null | string ; gte ?: null | string ; lt ?: null | string ; lte ?: null | string ; } ; values_count ?: null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } ; } | { is_empty : { key : string ; } ; } | { is_null : { key : string ; } ; } | { has_id : ( string | number ) [] ; } | { nested : { filter : { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...; key : string ; } ; } ) [] ; min_count : number ; } ; must ?: null | ( | ( { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...) | { geo_bounding_box ?: null | Record < string , unknown > | { bottom_right : { lat : number ; lon : number ; } ; top_left : { lat : number ; lon : number ; } ; } ; geo_polygon ?: null | Record < string , unknown > | { exterior : { points : { lat : number ; lon : number ; } [] ; } ; interiors ?: null | { points : ( ...) [] ; } [] ; } ; geo_radius ?: null | Record < string , unknown > | { center : { lat : number ; lon : number ; } ; radius : number ; } ; key : string ; match ?: | null | Record < string , unknown > | { value : string | number | boolean ; } | { text : string ; } | { any : string [] | number [] ; } | { except : string [] | number [] ; } ; range ?: | null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } | { gt ?: null | string ; gte ?: null | string ; lt ?: null | string ; lte ?: null | string ; } ; values_count ?: null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } ; } | { is_empty : { key : string ; } ; } | { is_null : { key : string ; } ; } | { has_id : ( string | number ) [] ; } | { nested : { filter : { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...; key : string ; } ; } ) [] ; must_not ?: null | ( | ( { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...) | { geo_bounding_box ?: null | Record < string , unknown > | { bottom_right : { lat : number ; lon : number ; } ; top_left : { lat : number ; lon : number ; } ; } ; geo_polygon ?: null | Record < string , unknown > | { exterior : { points : { lat : number ; lon : number ; } [] ; } ; interiors ?: null | { points : ( ...) [] ; } [] ; } ; geo_radius ?: null | Record < string , unknown > | { center : { lat : number ; lon : number ; } ; radius : number ; } ; key : string ; match ?: | null | Record < string , unknown > | { value : string | number | boolean ; } | { text : string ; } | { any : string [] | number [] ; } | { except : string [] | number [] ; } ; range ?: | null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } | { gt ?: null | string ; gte ?: null | string ; lt ?: null | string ; lte ?: null | string ; } ; values_count ?: null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } ; } | { is_empty : { key : string ; } ; } | { is_null : { key : string ; } ; } | { has_id : ( string | number ) [] ; } | { nested : { filter : { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...; key : string ; } ; } ) [] ; should ?: null | ( | ( { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...) | { geo_bounding_box ?: null | Record < string , unknown > | { bottom_right : { lat : number ; lon : number ; } ; top_left : { lat : number ; lon : number ; } ; } ; geo_polygon ?: null | Record < string , unknown > | { exterior : { points : { lat : number ; lon : number ; } [] ; } ; interiors ?: null | { points : ( ...) [] ; } [] ; } ; geo_radius ?: null | Record < string , unknown > | { center : { lat : number ; lon : number ; } ; radius : number ; } ; key : string ; match ?: | null | Record < string , unknown > | { value : string | number | boolean ; } | { text : string ; } | { any : string [] | number [] ; } | { except : string [] | number [] ; } ; range ?: | null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } | { gt ?: null | string ; gte ?: null | string ; lt ?: null | string ; lte ?: null | string ; } ; values_count ?: null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } ; } | { is_empty : { key : string ; } ; } | { is_null : { key : string ; } ; } | { has_id : ( string | number ) [] ; } | { nested : { filter : { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...; key : string ; } ; } ) [] ; }
Type declaration Optional
min_ should ?: null | Record < string , unknown > | { conditions : ( | ( { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...) | { geo_bounding_box ?: null | Record < string , unknown > | { bottom_right : { lat : number ; lon : number ; } ; top_left : { lat : number ; lon : number ; } ; } ; geo_polygon ?: null | Record < string , unknown > | { exterior : { points : { lat : ...; lon : ...; } [] ; } ; interiors ?: null | { points : ...; } [] ; } ; geo_radius ?: null | Record < string , unknown > | { center : { lat : number ; lon : number ; } ; radius : number ; } ; key : string ; match ?: | null | Record < string , unknown > | { value : string | number | boolean ; } | { text : string ; } | { any : string [] | number [] ; } | { except : string [] | number [] ; } ; range ?: | null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } | { gt ?: null | string ; gte ?: null | string ; lt ?: null | string ; lte ?: null | string ; } ; values_count ?: null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } ; } | { is_empty : { key : string ; } ; } | { is_null : { key : string ; } ; } | { has_id : ( string | number ) [] ; } | { nested : { filter : { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...; key : string ; } ; } ) [] ; min_count : number ; } Optional
must ?: null | ( | ( { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...) | { geo_bounding_box ?: null | Record < string , unknown > | { bottom_right : { lat : number ; lon : number ; } ; top_left : { lat : number ; lon : number ; } ; } ; geo_polygon ?: null | Record < string , unknown > | { exterior : { points : { lat : number ; lon : number ; } [] ; } ; interiors ?: null | { points : ( ...) [] ; } [] ; } ; geo_radius ?: null | Record < string , unknown > | { center : { lat : number ; lon : number ; } ; radius : number ; } ; key : string ; match ?: | null | Record < string , unknown > | { value : string | number | boolean ; } | { text : string ; } | { any : string [] | number [] ; } | { except : string [] | number [] ; } ; range ?: | null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } | { gt ?: null | string ; gte ?: null | string ; lt ?: null | string ; lte ?: null | string ; } ; values_count ?: null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } ; } | { is_empty : { key : string ; } ; } | { is_null : { key : string ; } ; } | { has_id : ( string | number ) [] ; } | { nested : { filter : { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...; key : string ; } ; } ) [] Optional
must_ not ?: null | ( | ( { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...) | { geo_bounding_box ?: null | Record < string , unknown > | { bottom_right : { lat : number ; lon : number ; } ; top_left : { lat : number ; lon : number ; } ; } ; geo_polygon ?: null | Record < string , unknown > | { exterior : { points : { lat : number ; lon : number ; } [] ; } ; interiors ?: null | { points : ( ...) [] ; } [] ; } ; geo_radius ?: null | Record < string , unknown > | { center : { lat : number ; lon : number ; } ; radius : number ; } ; key : string ; match ?: | null | Record < string , unknown > | { value : string | number | boolean ; } | { text : string ; } | { any : string [] | number [] ; } | { except : string [] | number [] ; } ; range ?: | null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } | { gt ?: null | string ; gte ?: null | string ; lt ?: null | string ; lte ?: null | string ; } ; values_count ?: null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } ; } | { is_empty : { key : string ; } ; } | { is_null : { key : string ; } ; } | { has_id : ( string | number ) [] ; } | { nested : { filter : { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...; key : string ; } ; } ) [] Optional
should ?: null | ( | ( { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...) | { geo_bounding_box ?: null | Record < string , unknown > | { bottom_right : { lat : number ; lon : number ; } ; top_left : { lat : number ; lon : number ; } ; } ; geo_polygon ?: null | Record < string , unknown > | { exterior : { points : { lat : number ; lon : number ; } [] ; } ; interiors ?: null | { points : ( ...) [] ; } [] ; } ; geo_radius ?: null | Record < string , unknown > | { center : { lat : number ; lon : number ; } ; radius : number ; } ; key : string ; match ?: | null | Record < string , unknown > | { value : string | number | boolean ; } | { text : string ; } | { any : string [] | number [] ; } | { except : string [] | number [] ; } ; range ?: | null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } | { gt ?: null | string ; gte ?: null | string ; lt ?: null | string ; lte ?: null | string ; } ; values_count ?: null | Record < string , unknown > | { gt ?: null | number ; gte ?: null | number ; lt ?: null | number ; lte ?: null | number ; } ; } | { is_empty : { key : string ; } ; } | { is_null : { key : string ; } ; } | { has_id : ( string | number ) [] ; } | { nested : { filter : { should?: (... | { key: string; match?: Record<string, unknown> | { value: string | number | boolean; } | { text: string; } | { any: string[] | number[]; } | { except: string[] | number[]; } | null | undefined; ... 4 more ...; values_count?: Record<...> | ... 2 more ... | undefined; } | { ...; } | { ...; } | { ...;...; key : string ; } ; } ) []
A class that translates or converts
StructuredQuery
to equivalent Qdrant filters.Example