#community-help

Largest Per Page Number and Include Fields in TS

TLDR Jameshwart asked about the largest per page number and using include_fields. Jason provided answers and helped with the UI.

Powered by Struct AI
+11
white_check_mark1
15
5mo
Solved
Join the chat
Apr 14, 2023 (5 months ago)
Jameshwart
Photo of md5-283d3397742c32cc2b6be6bda508c03e
Jameshwart
02:35 AM
whats the largest per page number that ts can handle?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
02:43 AM
250
Jameshwart
Photo of md5-283d3397742c32cc2b6be6bda508c03e
Jameshwart
02:44 AM
maybe the browser can't handle the response?
Image 1 for maybe the browser can't handle the response?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
02:45 AM
Hmm, yeah, especially if you have large documents
02:45
Jason
02:45 AM
Could you try using include_fields in additional parameters?
Jameshwart
Photo of md5-283d3397742c32cc2b6be6bda508c03e
Jameshwart
02:46 AM
what does that do?
02:46
Jameshwart
02:46 AM
also im not sure where to put it in the ui
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
02:46 AM
You can use that to specify which fields should be returned
Jameshwart
Photo of md5-283d3397742c32cc2b6be6bda508c03e
Jameshwart
02:46 AM
wow thats awesome.
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
02:46 AM
At the bottom of the page, the last field
Jameshwart
Photo of md5-283d3397742c32cc2b6be6bda508c03e
Jameshwart
02:46 AM
can you help me with that in the ui?
02:47
Jameshwart
02:47 AM
do you mean the additonal search parameters?
white_check_mark1
02:47
Jameshwart
02:47 AM
Image 1 for
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
02:47 AM
You want to type in include_fields=field1,field2
Jameshwart
Photo of md5-283d3397742c32cc2b6be6bda508c03e
Jameshwart
02:49 AM
Thanks Jason. this is helpful. because I only need a certain field to build static paths in next.js app
+11