Understanding Facet Query and Filter By on Typesense
TLDR Ricardo needed clarification on using facet_query. Kishore Nallan explained its use alongside
filter_by, helping Ricardo understand the concepts. The discussion also touched upon how facet_query works with sets of fields and the difference between facet_query and filter_by.
May 08, 2021 (33 months ago)
Kishore Nallan09:20 AM
Kishore Nallan09:21 AM
Kishore Nallan09:22 AM
Kishore Nallan09:23 AM
Kishore Nallan09:23 AM
Kishore Nallan09:24 AM
filter_byfilters the actual results. It is equivalent to the WHERE clause in SQL.
Kishore Nallan09:25 AM
Kishore Nallan09:26 AM
wouldn't that be equivalent to a facet_query?
Kishore Nallan12:17 PM
As for your second question, you can search on one set of fields and facet on another set of fields. They don't have to overlap.
Kishore Nallan12:18 PM
Indexed 3015 threads (79% resolved)
Merging Results of Multi-Search Queries: Workarounds and Future Features
Julian wanted to merge results from two similar collections. Kishore Nallan confirmed it's a feature that might be implemented but hasn't been prioritised. Both Julian and robert plan to use client-side solutions for now.
Issue with Sorting Search Request
Anton encounters an issue with sorting a search request due to an assuredly existing field appearing absent. Jason complements by revealing string sorting isn't supported. Kishore Nallan confirms future support for string sorting, despite its memory-demands.
Issues Sorting Multiple Fields with Sort_by in Typesense Query
Rishabh was having trouble sorting two fields separately with a single query. Jason explained that a secondary sorting will only occur if the first sort results in matching values. They clarified the functionality of sorting in various search engines.
Moving from Algolia to Typesense: Questions and Answers
Juan sought advice from Kishore Nallan about moving from Algolia to Typesense, handling MultiSearch, setting parameters, checking imported documents, and a specific syntax query.
Issue with Numerical Faceting in Combination with Group_by
Vamshi encounters issues with numerical faceting when used in conjunction with group_by in Typesense. After a detailed query script, Kishore Nallan identifies this as a bug, encouraging the user to raise a Github issue.