Robert Weber
01/24/2025, 12:51 PMbooks
and a collection authors
. In the books
collection the author is referenced via id like so {"name": "author_id", "type": "string", "reference": "authors.id"}
. What I would like to do is when I search lets say for all authors starting with the name "Frank", I also want to include the books of each author in the documents returned from Typesense. Is this possible via the right value for the filter_by
parameter or is this not possible without knowing the ID of the author as stated in the example "filter_by":"$orders(customer_id:=customer_a)"
.
Thanks for your help.Jason Bosco
01/24/2025, 7:32 PMq: frank
and then use include_fields
to include all books joined to that authorRobert Weber
01/27/2025, 8:12 AMbook_ids
field is an array of strings?Harpreet Sangar
01/27/2025, 4:11 PM{"name": "book_ids", "type": "string[]", "reference": "books.id"}
Robert Weber
01/29/2025, 10:51 AM