#community-help

Changing queryBy parameter with instantSearch dynamically

TLDR Digamber needed help changing the queryBy parameter with instantSearch dynamically. Jason suggested creating a new instance of the adapter and instantsearch widgets any time query by changes.

Powered by Struct AI
Jan 07, 2022 (22 months ago)
Digamber
Photo of md5-a0246423746b3b51425d05cfd9c494ae
Digamber
10:40 AM
Hey guys i’m trying to change the queryBy parameter with instantSearch dynamically on user input. I am trying to change it via the searchFunction but with no success. Is there anyway to go about doing this? Basically trying to replicate the search form on the clusters
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
06:24 PM
Digamber You would have create a new instance of the adapter and instantsearch widgets any time query by changes.