Skip to main content
The queryType parameter controls if and how Algolia considers matches at the beginning of query words. For more information, see Prefix searching.

Options

Only the last word in the query is treated as a prefix.
All preceding words must match in full.
All words in the query are treated as prefixes.
With prefixAll, removeStopWords has no effect: stop words are never removed from words interpreted as prefixes, and prefixAll treats every word as a prefix.
Prefix search is turned off. All query words must match completely.

Example

Current API clients

Last modified on June 24, 2026