Resolving 'stores_count' field sorting issue in Schema
TLDR em1nos encountered an issue sorting the 'stores_count' field, which was due to a field disparity in multiple collections. Upon resolving that, a subsequent issue with instant search internally managing sorting came up, which Jason addressed by releasing an updated version of the adapter.
3
2
Jul 11, 2021 (28 months ago)
em1nos
10:05 AMCould not find a field named
stores_count in the schema for sorting
Do I need to set facet: true
for sorting to work on that field?Kishore Nallan
10:05 AMKishore Nallan
10:06 AMem1nos
10:07 AMem1nos
10:09 AMem1nos
10:09 AMKishore Nallan
10:10 AMem1nos
10:12 AMKishore Nallan
10:13 AMem1nos
10:14 AMem1nos
10:14 AMKishore Nallan
10:14 AMem1nos
10:14 AMcollectionSpecificSearchParameters
1
em1nos
10:23 AMem1nos
10:23 AMem1nos
10:24 AMKishore Nallan
10:26 AMKishore Nallan
10:27 AMsortBy: ['stores_count:desc']
Kishore Nallan
10:29 AMem1nos
10:30 AM2
Jason
03:26 PMem1nos
03:28 PMem1nos
03:29 PMcollectionSpecificSearchParameters
doesn't work at allem1nos
03:30 PMem1nos
03:31 PMem1nos
03:32 PMem1nos
03:33 PMem1nos
03:33 PMem1nos
03:34 PMJason
03:34 PMJason
03:36 PMem1nos
03:36 PMJason
03:37 PMem1nos
03:37 PMem1nos
03:38 PMJason
03:40 PMJason
03:40 PMem1nos
03:40 PMem1nos
03:40 PM1
Jason
06:14 PMem1nos
06:48 PM1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
Resolve Facets and Sorting Issues with Typesense
Ethan needed assistance with getting all facet values and sorting results by date using Typesense. Jason provided guidance on how to use Typesense properties to accomplish these tasks, and resolved issues related to specific use-cases provided by Ethan and Rushil.
Resolving Issue with Instantsearch Sort_by in React
Edward had a problem with sorting functionality in a React component using Algolia's InstantSearch. Jason recommended a potential solution for specifying index names which resolved the issue.
Typesense Sorting Query and Bug Report
michtio is new to Typesense and is querying sorting implementation. Jason shares resources and suggests use of specific adapters. However, michtio shares a bug found when applying a filter on Typesense. Jason asks for a GitHub issue to be opened for the bug.
Fixing Multiple Document Retrieval in Typesense
Phil needed an efficient way to retrieve multiple documents by id. Kishore Nallan proposed a solution available in a pre-release build. After some bug fixing regarding id matching by Jason and Kishore Nallan, Phil successfully tested the solution.
Configuring InstantSearch.js Parameters and Comparing Search Results
John is having difficulty configuring InstantSearch.js parameters. Jason suggested how to utilize `facet_by` and `filter_by` widgets and advised checking network for search parameters. They also asked John to open an issue on the unexpected need for manual `_text_match` addition.