#community-help

Fetching More than 250 Items and Grouping Limit in Typesense

TLDR Fernando asked how to fetch more than 250 items per page in Typesense. Jason suggested using a multi-search request to fetch multiple pages at once. They also discussed the group_limit issue in another thread.

Powered by Struct AI
Aug 17, 2022 (16 months ago)
Fernando
Photo of md5-1849a1b4447cce5a0fee4de4b5e3aa34
Fernando
11:21 PM
Is there a way to fetch more than 250 items per page? When I try to, I get this warning: Only upto 250 hits can be fetched per page. . While it’s a rare use-case, I want to fetch many items for a map screen. Same question goes for group_limit up to 99.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
11:25 PM
You can use a multi search request and send different page numbers in each search to fetch multiple pages at once
Fernando
Photo of md5-1849a1b4447cce5a0fee4de4b5e3aa34
Fernando
11:34 PM
oh sorry missed that thread
11:35
Fernando
11:35 PM
got it, i’ll try the multi pages. so if i have 800 total groups, I should just search 4 pages and be good with the multi search, correct? (i haven’t used multisearch yet)
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
11:36 PM
Correct