Get all items in the hits widget


I have multiple widgets in the screen. Like searchbox and some custom widgets to select the document types and some other filters.

All the rendering logic is in hits widget “TrnasformData” event. TransfromData event only returns number of hits which are mentioned in hitsperpage attribute. say 10.

Suppose if I have 3 pages and 10 hits in each page.
Is there a way I can get all the 30 hits by the hits widget in one go ?

Hi there!

Could you please provide a minimal, reproducible example? This will make it a lot easier to understand what is going on and help you debug.

I assume you’re using one of our InstantSearch libraries, so here are some starter template in CodeSandbox: