Skip to main content

Documentation Index

Fetch the complete documentation index at: https://algolia.com/llms.txt

Use this file to discover all available pages before exploring further.

About this widget

The SearchState class lets you provide raw search parameters to the Algolia API.
You can’t set the filters parameter. Use FilterState instead.
For more information about the different parameters you can set, see the search parameters API reference.

View live demo

Open the live Search State example in your browser.

Examples

Dart
var state = SearchState(
  indexName: "YourIndexName",
  hitsPerPage: 20,
  analytics: true,
);
Last modified on March 23, 2026