Rob Bast
11/14/2024, 8:52 AMadditionalSearchParameters: { filter_by: `id:* || $collection(id: *)`, include_fields: `$collection(id,field, strategy: nest_array)` }
however, when I use one of the refinement widgets to filter on a specific facet, this filter_by
value is no longer used in the additional search query that is submitted and my results no longer receive any of the included fields from the joined collection. Is there a way to get this working documented somewhere?Rob Bast
11/14/2024, 9:36 AMRob Bast
11/14/2024, 9:52 AMconfigure({
facetFilters: [`id:* || $collection(id:*)`]
}),
does not work because this is transformed into
filter_by: "id:* || $collection(id:=[`*)`]"
Rob Bast
11/14/2024, 9:58 AMfilters
in the configure widget; those are not adjusted by the search adapterFanis Tharropoulos
11/14/2024, 10:01 AMconfigure
widget to apply a persistent filter for JOINs:
https://github.com/typesense/showcase-joins-django/blob/92632d8a9e8d425615b14c644369f09be233d249/frontend/src/routes/team-details.tsx#L278-L280Rob Bast
11/14/2024, 10:02 AMFanis Tharropoulos
11/14/2024, 10:03 AMRob Bast
11/14/2024, 10:03 AMFanis Tharropoulos
11/14/2024, 10:04 AM