searchAlterationOptions resource type

Namespace: microsoft.graph

Provides the search alteration options for spelling correction.

Properties

Property Type Description
enableModification Boolean Indicates whether spelling modifications are enabled. If enabled, the user gets the search results for the corrected query if there were no results for the original query with typos. The response will also include the spelling modification information in the queryAlterationResponse property. Optional.
enableSuggestion Boolean Indicates whether spelling suggestions are enabled. If enabled, the user gets the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional.

JSON representation

Here's a JSON representation of the resource.

{
  "enableModification": "Boolean",
  "enableSuggestion": "Boolean"
}