API Reference / Android Widgets / Query
Apr. 24, 2019

About this widget

The Query class lets you provide raw search parameters to the Algolia API.

For more information on the different parameters you can set, have a look at the search parameters API reference.

Examples

1
2
3
4
5
6
7
// SearcherSingleIndex and SearcherForFacets
searcher.query.hitsPerPage = 20
searcher.query.analytics = false

// SearcherMultipleIndex
searcher.queries[0].hitsPerPage = 20 // only for the first index
searcher.queries.forEach { it.query.analytics = false } // for all indices

Did you find this page helpful?