Increasing Typsense Document Limit and Using InstantSearch with ag-grid

TLDR em1nos asked about increasing the 250 document limit in Typsense responses and improving the functionality of ag-grid with client data. Jason suggested using ag-grid's "Partial Store" option.

Powered by Struct AI
Jul 11, 2021 (31 months ago)
Photo of md5-f33ae8b829901656b655c985c894be3a
07:28 PM
is there a way to increase the 250 documents limit in the response?
07:44 PM
actually, I found the answer to this by searching here
07:47 PM
I'm trying to use Typsense with InstantSearch and displaying the results with ag-grid. It kind of works, but using ag-grid with "client data" is kind of wonky. the grid/table column sorting/filtering is performed on the current page's data only, which is not optimal. I'm not sure how to solve this.
Photo of md5-8813087cccc512313602b6d9f9ece19f
09:12 PM
I haven't used ag-grid, but it looks like there's a "Partial Store" option that can pass sort requests to the server data store: https://www.ag-grid.com/vue-grid/server-side-model-sorting/#partial-store