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.

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

Options

prefixLast
Only the last word in the query is treated as a prefix.
All preceding words must match in full.
prefixAll
All words in the query are treated as prefixes.
prefixNone
Prefix search is turned off. All query words must match completely.

Example

Current API clients

var response = await client.SetSettingsAsync(
  "INDEX_NAME",
  new IndexSettings { QueryType = Enum.Parse<QueryType>("PrefixLast") }
);
IndexSettings settings = new IndexSettings();
settings.QueryType = "prefixLast";
// settings.QueryType = "prefixAll";
// settings.QueryType = "prefixNone";

index.SetSettings(settings);
Last modified on May 19, 2026