Discussing `use_cache` and `cacheSearchResultsForSeconds` Options
TLDR Aljosa wanted a confirmation for a technical issue and Jason suggested to use use_cache
for both. Proposed updates were given to check if their issue resolves. Aljosa agreed to test out the proposed solution.
1
1
Feb 15, 2022 (21 months ago)
Aljosa
04:55 PMJason
05:28 PMuse_cache
for bothJason
05:29 PMusecache
?Aljosa
06:51 PMAljosa
06:52 PMJason
06:52 PMJason
06:53 PMJason
06:53 PM1
Aljosa
06:54 PMAljosa
07:08 PMJason
07:33 PM2.3.1-0
and if you have a direct dependency on typesense-js, could you update it to 1.1.4-3
and try now?Feb 18, 2022 (21 months ago)
Aljosa
05:16 PM1
Typesense
Indexed 2786 threads (79% resolved)
Similar Threads
Debugging Search Issue with Typesense Server Caching
Jameshwart reported experiencing caching issues with typesense server, despite the server's default setting of not caching. Through troubleshooting steps with Kishore Nallan, they were able to confirm an issue with the Typesense Javascript client and resolved it by adding `cacheSearchResultsForSeconds: 0` after `apiKey` in the initialisation. Laura also participated in discussion, learning about server and client level caching.
Improving Documentation for 'cacheSearchResultsForSeconds' Function
Edson suggested that 'cacheSearchResultsForSeconds' function should be included in official documentation. CaptainCodeman shared insights on using caching mechanisms for improving performance. Jason agreed and provided useful details about client-side and server-side caching options in Typesense.
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.
Troubleshooting Issues with DocSearch Hits and Scraper Configuration
Rubai encountered issues with search result priorities and ellipsis. Jason helped debug the issue and suggested using different versions of typesense-docsearch.js, updating initialization parameters, and running the scraper on a Linux-based environment. The issues related to hits structure and scraper configuration were resolved.
Phrase Search Relevancy and Weights Fix
Jan reported an issue with phrase search relevancy using Typesense Instantsearch Adapter. The problem occurred when searching phrases with double quotes. The team identified the issue to be related to weights and implemented a fix, improving the search results.