Skip to main content
  • Type: list<enum<string>>
  • Default: ["exactPhrase", "excludeWords"]
  • Scope: settings,search
The advancedSyntaxFeatures parameter defines which advanced query features are enabled when advancedSyntax is set to true.

Options

exactPhrase
Enables exact phrase matching with double quotes ("). For example, "search engine" only matches records where “search” is followed by “engine” in a searchable attribute.
Typo tolerance is not applied inside quoted phrases.
excludeWords
Enables word exclusion using the minus sign (-). For example, search -engine matches records that contain “search” but not “engine”.

Example

Current API clients

index.Search(new Query {
  AdvancedSyntax = true,
  AdvancedSyntaxFeatures = new List { "exactPhrase" }
});
index.Search(new Query {
  AdvancedSyntax = true,
  AdvancedSyntaxFeatures = new List { "exactPhrase" }
});
I