Skip to main content
  • Type: enum<string>
  • Default: ""
  • Scope: settings
This setting controls whether the engine uses keyword search only or combines it with vector-based semantic search (NeuralSearch). If getRankingInfo is true, the _rankingInfo object includes:
  • keywordScore. Match score from keyword search
  • semanticScore. Match score from semantic search
  • neuralScore. Combined score used for final ranking
This setting only has an effect if you activated NeuralSearch.

Options

Use only keyword-based search.
Use NeuralSearch, which combines keyword and AI-based vector search.

Example

Current API clients

var response = await client.SetSettingsAsync(
  "ALGOLIA_INDEX_NAME",
  new IndexSettings { Mode = Enum.Parse<Mode>("KeywordSearch") }
);
index.setSettings({ mode: "keywordSearch" });
I