The option searchParameters was removed from the instantsearch widget in v4 of InstantSearch. You can replace it with the configure widget, following the instructions in our upgrade documentation linked below:
https://www.algolia.com/doc/guides/building-search-ui/upgrade-guides/js/#searchparameters