Limiting Typesense Search Results to Non-Empty Queries
TLDR A asked how to limit Typesense search results to non-empty queries. Jason provided an example using Instantsearch.js, referencing Typesense's song search project on GitHub.
1
Feb 12, 2022 (21 months ago)
A
10:59 AMJason
02:59 PMYou'll see this in action here: https://songs-search.typesense.org/
1
Typesense
Indexed 2779 threads (79% resolved)
Similar Threads
Typesense Performance with Large Datasets & Custom Sort
krok inquires about Typesense's performance on large datasets and custom sorting. Kishore Nallan explains that Typesense is optimized for this scenario using pagination and text relevance.
Handling Empty Searches in Typesense
Ahmed inquired about Typesense's handling of empty searches. Jason explained the default behavior and suggested controlling the ranking using sort_by.
Issues with Typesense Frontend Search Integration
Akash experienced issues integrating Typesense into their frontend search, particularly with their search box. Jason guided them to troubleshoot, eventually identifying the issue to be with react-instantsearch-dom and suggesting a downgrade to react 17, which resolved the issue.