Displaying More Populated Documents First in Typesense Cloud
TLDR Rushil had a question on how to display the most populated documents first in Typesense cloud. Jason suggested creating a new field to set this function and further clarified related inquiries.
Sep 21, 2022 (15 months ago)
Rushil
02:14 AMJason
02:16 AMCould you elaborate on this with an example? Didn’t quite understand this
Rushil
06:47 AMJason
03:16 PMsort_by
search parameterRushil
06:48 PMRushil
06:49 PMJason
06:50 PMRushil
07:32 PMJason
07:42 PMTypesense
Indexed 3011 threads (79% resolved)
Similar Threads
Fetching Random Documents Using Random Integer
em1nos inquires about fetching random documents, to which Jason confirms using a random integer is the method. Suggestion for new "random" sort order feature in Typesense was advised to be directed towards Github.
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.
Troubleshooting Typesense Document Import Error
Christopher had trouble importing 2.1M documents into Typesense due to memory errors. Jason clarified the system requirements, explaining the correlation between RAM and dataset size, and ways to tackle the issue. They both also discussed database-like query options.
Using Typesense to Search Specific Document IDs
Tshepo inquired about performing specific document ID searches in Typesense. Jason advised using the `filter_by=id:=[1,2,3,etc]` function or directly querying Typesense.
Sorting and Uploading Large Files in Typesense
Mridul asked about sorting by document id and uploading a large text file in Typesense. Jason rode in with suggestions on both queries.