Slackbot
07/25/2023, 11:07 PMJason Bosco
07/26/2023, 12:00 AMfacet_by: fieldName and max_facet_values: 9999999 (some large number)Ethan Horoschak
07/26/2023, 12:32 AMJason Bosco
07/26/2023, 12:46 AMlimit and showMoreLimit parameters in RefinementList or any of the other filter widgets, which the adapter then uses internally to set facet_by and max_facet_valuesEthan Horoschak
07/26/2023, 12:47 AMEthan Horoschak
07/26/2023, 12:47 AMJason Bosco
07/26/2023, 12:48 AMJason Bosco
07/26/2023, 12:48 AMhttps://typesense-community.slack.com/archives/C01P749MET0/p1690332444060009?thread_ts=1690326451.922009&cid=C01P749MET0Could you elaborate on this? This is how I’ve seen refinementList work by default
Ethan Horoschak
07/26/2023, 12:48 AMJason Bosco
07/26/2023, 12:49 AMEthan Horoschak
07/26/2023, 12:49 AMEthan Horoschak
07/26/2023, 12:53 AMmarketing option, if I first filter by internships then this facet option wont appear in our refinement listJason Bosco
07/26/2023, 12:54 AMJason Bosco
07/26/2023, 12:56 AMJason Bosco
07/26/2023, 12:57 AMJason Bosco
07/26/2023, 12:57 AMEthan Horoschak
07/26/2023, 12:58 AMJason Bosco
07/26/2023, 12:59 AMEthan Horoschak
07/26/2023, 1:00 AMJason Bosco
07/26/2023, 1:02 AMJason Bosco
07/26/2023, 1:46 AMv2.7.1-3 of the adapterEthan Horoschak
07/26/2023, 2:35 AMEthan Horoschak
07/26/2023, 2:35 AMJason Bosco
07/26/2023, 3:09 AMJason Bosco
07/26/2023, 3:09 AMitems array, in the format described in that sectionEthan Horoschak
07/26/2023, 6:38 AMEthan Horoschak
07/26/2023, 6:52 AM_text_match:desc default for every query? or should it be specified and somehow our default sort is already updates_date:descJason Bosco
07/26/2023, 4:33 PMJason Bosco
07/26/2023, 4:34 PMis _text_match:desc default for every query?If no sort_by is mentioned, yes this is default. If a sort_by is mentioned,
_text_match:desc is added as the last sort parameter, after the sorts you’ve specified in sort_byJason Bosco
07/26/2023, 7:52 PM"default_sorting_field": "updated_date" in the collection schema. So when you don’t specify a sort_by parameter in the search, Typesense automatically sorts by updated_date:desc. This is why the results look similar when you add sort_by=updated_date:descEthan Horoschak
07/26/2023, 7:53 PMJason Bosco
07/26/2023, 7:54 PMq is something other than *, which is when text_match is calculated. Otherwise text_match is identical for a wild-card * queryEthan Horoschak
07/26/2023, 7:57 PMJason Bosco
07/26/2023, 7:58 PMJason Bosco
07/26/2023, 8:03 PMEthan Horoschak
07/26/2023, 8:04 PMJason Bosco
07/26/2023, 8:09 PMJason Bosco
07/26/2023, 8:10 PMJason Bosco
07/26/2023, 8:11 PMEthan Horoschak
07/26/2023, 8:11 PMJason Bosco
07/26/2023, 8:11 PMJason Bosco
07/26/2023, 8:12 PMgroup_by: company_name and set group_limit: 1Ethan Horoschak
07/26/2023, 8:12 PMEthan Horoschak
07/26/2023, 8:13 PMJason Bosco
07/26/2023, 8:13 PMEthan Horoschak
07/26/2023, 8:15 PMJason Bosco
07/26/2023, 8:17 PMEthan Horoschak
07/26/2023, 8:20 PMEthan Horoschak
07/26/2023, 8:21 PMEthan Horoschak
07/26/2023, 8:34 PMJason Bosco
07/26/2023, 8:46 PMRushil Srivastava
07/26/2023, 9:21 PMdefault_sorting_field?Rushil Srivastava
07/26/2023, 9:32 PMobjectId. It seems like this isn’t possible on Typesense thoughJason Bosco
07/26/2023, 9:35 PMIs there anyway to update the default_sorting_field?Unfortunately no. You would have to create a new collection and reindex your data in it.
Jason Bosco
07/26/2023, 9:36 PMThe default sorting mechanism is objectId. It seems like this isn’t possible on Typesense thoughDo you let Algolia auto-generate these objectIds or do you generate them on your side?
Rushil Srivastava
07/26/2023, 9:36 PMRushil Srivastava
07/26/2023, 9:37 PMDo you let Algolia auto-generate these objectIds or do you generate them on your side?We generate the object IDs and sync them to Algolia. We’re doing the same thing with Typesense with
idJason Bosco
07/26/2023, 9:38 PMid which is used to dedupe records. However, you can’t use the id field for sorting. So you would have to duplicate the same id in a new field called say sortId and then use that field for sortingRushil Srivastava
07/26/2023, 9:50 PMposting_id field. I think I may have misread something, but can you sort string fields? I’m running into errors when tryingJason Bosco
07/26/2023, 9:51 PMsort: true in the schema for that field definitionJason Bosco
07/26/2023, 9:51 PMEthan Horoschak
07/26/2023, 9:52 PMRushil Srivastava
07/26/2023, 9:52 PMJason Bosco
07/26/2023, 9:52 PMJason Bosco
07/26/2023, 9:53 PMJason Bosco
07/26/2023, 9:54 PMEthan Horoschak
07/26/2023, 9:55 PMJason Bosco
07/26/2023, 9:57 PM