why not to use export? <https://typesense.org/docs...
# community-help
a
m
What would the benefit of export be? Don’t you then lose the benefit of facetting/searching/filtering/sorting? Seems like an extra additional step rather than using the API directly to display what you want.
a
There is a limitation on a max number of results returned from the search in one page. Something like 250 items. If your collection is bigger than that you wont be able to get all the results without using paging
m
As you can see in the example and in the code
found 26 out_of 30
there are only 30 records, so export is definitely not needed, and not the issue here 🙂
a
If you still want to /search, then try to use these search parameters: search_cutoff_ms max_candidates exhaustive_search
these should force the server to return all the documents matching search criteria and not return results earlier
m
Default no_search_cutoff happens, seems like the way to go unless I’m wrong 🤔