Each searcher
gives you access to the query property via searcher.indexQueryState.query
. For example, if you want to modify the hitsPerPage
parameter:
Swift
searcher.indexQueryState.query.hitsPerPage = 30
Algolia DevCon - June 28-29, 2023
Discover the future of the AI Stack with Algolia, be the first to see new platform demos and announcements, and get the most out of Algolia through interactive workshops.
Each searcher
gives you access to the query property via searcher.indexQueryState.query
. For example, if you want to modify the hitsPerPage
parameter:
Swift
searcher.indexQueryState.query.hitsPerPage = 30