Typesense Sorting Query and Bug Report
TLDR 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.
Jun 20, 2022 (16 months ago)
michtio
01:33 PMIs there any specific documentation on how to handle sorting, since we don’t need to use index replicas for those?
Jason
01:38 PMYou can use a single index to sort on multiple fields
michtio
01:39 PMJason
01:39 PMmichtio
01:40 PMJason
01:41 PMmichtio
01:41 PMJason
01:41 PMJason
01:47 PMSo in your case you would have to use typesense-js directly to make API calls to Typesense
michtio
01:52 PMhttps://github.com/typesense/typesense-js
Jason
02:38 PMJason
02:44 PMJun 21, 2022 (16 months ago)
michtio
07:16 AMOn that note I also found a (possible) bug, using
filter_by:>2
did return all the results higher than 2, but also higher than -2
( so we had a -3
int value in the results )Jason
01:18 PMre: bug, could you open a Github issue with a reproducible code snippet with a few sample docs, along with the Typesense version?
Typesense
Indexed 2776 threads (79% resolved)
Similar Threads
Implementing State Export Feature Using Typesense InstantSearch.js on Node.js Backend
Kyle needed help passing search state to backend for implementing an "Export" feature, while using Typesense InstantSearch. Jason provided multiple solutions including advice on using Typesense InstantSearch adapter. The issue was resolved after some iteration.
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.
Troubleshooting Typesense Setup and Understanding Facets and Keywords
Demitri encountered errors when exploring Typesense for the first time. Jason guided them through troubleshooting and discussed facets, keyword settings, and widget configurations. Helin shared a Python demo app and its source code to help Demitri with their project.
Typesense Capabilities and Troubleshooting Queries
A had issues with refinement lists and analytics in Typesense. Jason provided a possible solution and recommended the analytics widget. They clarified import size limits and helped identify a filter issue in A's query. Upgrade options are in Typesense's roadmap.