#community-help

Efficient Method for Fetching More Than 250 Search_by Results

TLDR Max asked about fetching over 250 results from search_by. Jason confirmed that fetching multiple pages was the best method.

Powered by Struct AI

1

Nov 07, 2023 (3 weeks ago)
Max
Photo of md5-af105ba72abf5ec8cd12637398db3c81
Max
08:09 PM
👋 What would be the most efficient way to get more than 250 hits from the search_by results? E.g. 1000 best matching hits for post-processing the entire set, not per page. Will it always be necessary to make at least two HTTP requests (get the first page with the total hits, multi-get other pages if there are any)?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
08:15 PM
Yup, that would be the best way to fetch multiple pages
Max
Photo of md5-af105ba72abf5ec8cd12637398db3c81
Max
08:15 PM
Sweet, thanks for confirming!

1