Facet Exclusion in Typesense Query
TLDR Kyle asked if there was a way to exclude results from a specific facet in Typesense query. Kishore Nallan asked for sample docs and exact query to better understand the question.
Feb 09, 2023 (7 months ago)
NikonI would expect to get back results from Camera & Lens but not Film because Nikon isn't a film manufacturer. However my current query still returns results for the Film facet like
Kodak Goldbecause some documents have a Nikon camera and lens but on Kodak film. Is there any way to enforce this exclusion so that the Film facet would show 0 results because there is no text search result in that specific facet that matches our query of
To elaborate just a bit further the query
Kodak Goldshould also just return Film hits and not any results for Camera or Lens because they aren't text matches. I can break up the search for just those specific facets but I would like to not have to do multiple hits to the typesense db
Feb 10, 2023 (7 months ago)
Kishore Nallan11:38 AM
Indexed 2764 threads (79% resolved)
Excluding Specific Documents in Typesense Results
Alexander asked how to exclude specific documents in Typesense search results, and Jason suggested using the hidden_hits search parameter and multi_search for large lists.
Faceting issue with Products Collections in Typesense
Carl was unable to facet on a string array. Kishore Nallan and Jason advised ensuring facet counts were being returned and offered to assist in troubleshooting. Issue resolved upon Carl realizing no data was saved in the database.
Facet Groups Filtering with Typesense and Instantsearch.js
Cristopher was having issues with faceting on Typesense and sought advice. Kishore Nallan and Jason provided recommendations and resources. Cristopher finally resolved the issue by switching to instantsearch.js.