Todd Tarsi
07/03/2023, 8:22 PMconst schema: CollectionFieldSchema[] = [
{
name: 'topLevelField',
type: 'object[]',
facet: true,
},
{
facet: true,
name: 'topLevelField.nestedField',
type: 'int32',
},
];
And I have an entry with this shape:
{ topLevelField: [{ nestedField: 3 }, { nestedField: 5}]}
How can I filter that 5 is in the nestedField list?Jason Bosco
07/03/2023, 8:25 PMI was wondering if there was support for wildcards in array style searches, similar to a “some” check in SQLTypesense doesn’t support wild-cards in filter values
How can I filter that 5 is in the nestedField list?
filter_by: topLevelField.nestedField:=5
should work…Jason Bosco
07/03/2023, 8:25 PMTodd Tarsi
07/03/2023, 8:26 PMTodd Tarsi
07/03/2023, 8:41 PM