In InstantSearch.js v4, a developer wants to use
q as a querystring parameter key instead of the default key
q is much more common than
query, for example, Google (search), Twitter, and even Algolia community powered by Discourse here.
Library implementation: https://github.com/tnir/instantsearch.js/tree/singleIndexQ
Demo in production: https://docs.gitlab.com/search/?q=helm ( EDITED )