I’m currently trying to combine a docsearch and instantsearch instance on a project. I’m using docsearch to display the hits (since docsearch groups hits into a nice card layout by component type) and instant search to grab the list of available refinements based on the search.
I’m trying to sync the two input fields together so that when I type into the docsearch input field the instantsearch input field updates and runs a query. I’m able to update the instantsearch input field’s value by using docsearch’s queryHook property, but I’m unable to trigger the instantsearch query without actually typing into its input field.
How can I trigger the instant search instance to run once I’ve updated its input field to match the docsearch query?