Ricardo Carrillo Sanchez
04/12/2024, 3:33 PMRicardo Carrillo Sanchez
04/12/2024, 3:35 PMsearch = client.collections['some-collection'].documents.search({
'q': {"title": "something here", "rating":112},
'query_by': 'brand',
}
)
Ricardo Carrillo Sanchez
04/12/2024, 3:36 PMJason Bosco
04/12/2024, 8:00 PMq
has to be a string.
So you would put any text fields in query_by and "something here" in the q
parameter, and then rating:112 in filter_by