> ## Documentation Index
> Fetch the complete documentation index at: https://algolia.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Query

> Adds search parameters to your requests.

## About this widget

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

<Note>
  **You can't set the `filters` parameter**.
  Use [`FilterState`](/doc/api-reference/widgets/filter-state/ios) instead.
</Note>

For more information about the different parameters you can set,
see the [search parameters API reference](/doc/api-reference/search-api-parameters).

<Card title="Explore example code" icon="github" href="https://github.com/algolia/instantsearch-ios/tree/master/Examples/Showcase">
  Browse the Query example code on GitHub.
</Card>

## Examples

You an access the `Query` of the Searcher with its `request` property.

```swift Swift icon=code theme={"system"}
// HitsSearcher and FacetSearcher
searcher.request.query.hitsPerPage = 20
searcher.request.query.analytics = false
```
