Improving Search Time in Typesense
TLDR Vasudev sought for ways to improve server response time in Typesense. Kishore Nallan suggested it might be network latency or Postman's request process. Harrison confirmed that Postman is usually slow.
1
Oct 05, 2022 (15 months ago)
Vasudev
04:21 AMKishore Nallan
04:52 AM/collections/:name/documents/:id
endpoint?Vasudev
04:53 AMVasudev
04:53 AMKishore Nallan
04:53 AMVasudev
04:54 AMAnd it has only 3 records
Kishore Nallan
04:55 AMsearch_time_ms
in the response?Vasudev
04:55 AMKishore Nallan
04:56 AMVasudev
04:57 AMVasudev
04:58 AMIs this api is triggered when we are typing something in UI
Kishore Nallan
05:00 AMVasudev
05:01 AMVasudev
06:05 AM"search_time_ms": 0
but postman is showing 300ms
Vasudev
06:05 AMKishore Nallan
06:06 AMVasudev
06:07 AMKishore Nallan
06:08 AMVasudev
06:08 AMVasudev
06:09 AM/collections/:name/documents/:id
for this endpoint there is no such field "search_time_ms"
Vasudev
06:10 AMKishore Nallan
06:10 AMVasudev
06:14 AMVasudev
06:14 AMKishore Nallan
06:15 AMVasudev
06:15 AMVasudev
07:03 AMKishore Nallan
07:16 AMHarrison
01:01 PM1
Typesense
Indexed 3011 threads (79% resolved)
Similar Threads
Discussing Typesense Search Request Performance
Al experienced longer-than-reported times for Typesense search requests, sparking a detailed examination of json parsing, response times and data transfer. Jason and Kishore Nallan helped solve the issue.
Optimizing Typesense Implementation for Large Collections
Oskar faced performance issues with his document collection in Typesense due to filter additions. Jason suggested trying a newer Typesense build and potentially partitioning the data into country-wise collections. They also discussed reducing network latency with CDN solutions.
Revisiting Typesense for Efficient DB Indexing and Querying
kopach experienced slow indexing and crashes with Typesense. The community suggested to use batch import and check the server's resources. Improvements were made but additional support was needed for special characters and multi-search queries.
Troubleshooting Indexing Duration in Typesense Import
Alan asked about lengthy indexing times for importing documents to Typesense. Jason suggested various potential causes, including network connectivity and system resources. They later identified the problem to be an error in Alan's code.
Typesense Server Bulk Import/Upsert Issue Resolved
Adam was confused about the discrepancy between the successful responses and the actual indexed data while working with a custom WP plugin integrating with Typesense. The issue was a bug related to fetching documents in the wrong order, not a Typesense problem.