Roshan Chamlagai
02/17/2022, 11:13 AMKishore Nallan
02/17/2022, 11:14 AMKishore Nallan
02/17/2022, 11:17 AMfilter_by
parameter here: https://typesense.org/docs/0.22.2/api/documents.html#search-parametersRoshan Chamlagai
02/17/2022, 11:19 AMKishore Nallan
02/17/2022, 11:19 AMfilter_by=author_name:chetan
Will work, just don't add the =
Kishore Nallan
02/17/2022, 11:20 AMTo match a string field exactly, you can use theoperator. For eg::=
will match documents from the category shoes and not from a category likecategory:= Shoe
.shoe rack
Kishore Nallan
02/17/2022, 11:21 AMRoshan Chamlagai
02/17/2022, 11:22 AMKishore Nallan
02/17/2022, 11:22 AMfilter_by=author_name:chetan
will do a contains of the field so "Chetan Bhagat" will match. It's not possible to do fuzzy filtering. For that you need to use the q
parameter.Kishore Nallan
02/17/2022, 11:22 AMRoshan Chamlagai
02/17/2022, 11:27 AMilter_by=author_name:chetan
will do a contains of the field so "Chetan Bhagat" will match. no it doesn't work in my caseKishore Nallan
02/17/2022, 11:32 AMRoshan Chamlagai
02/17/2022, 11:41 AMKishore Nallan
02/17/2022, 11:41 AMRoshan Chamlagai
02/17/2022, 11:42 AMRoshan Chamlagai
02/17/2022, 11:42 AMRoshan Chamlagai
02/17/2022, 11:42 AMKishore Nallan
02/17/2022, 11:43 AMRoshan Chamlagai
02/17/2022, 11:43 AM