Efficiently Retrieving Facets in Typesense
TLDR Todd asked if using an empty string for
include_fields returns facets. Jason and Dan suggested using
per_page to limit results.
Jul 06, 2022 (16 months ago)
include_fieldsor something like that?
include_fields, you can also set
per_pageto say 1 (not sure if 0 will work)
Jul 07, 2022 (16 months ago)
per_pageworks fine - at least on 0.23.
Indexed 2776 threads (79% resolved)
Querying with Typesense-Js and Handling Null Values
michtio was querying using typesense-js and receiving fewer results than expected. Kishore Nallan suggested using different query parameters. Further discussion led to the handling of 'null' values and filtering syntax in the search queries. The thread ended with Jason offering migration support from Algolia to Typesense.
Removing Empty String from `facet_by` Result
Ivan reported an issue with `facet_by` returning an empty string. Kishore Nallan suggested setting the string to null and marking the field as "optional: true" in the schema.
Faceting Objects in Typesense
John wants to facet objects in Typesense, but faces issues. Kishore Nallan suggests creating a feature request on GitHub.