searchAlterationOptions resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Provides the search alteration options for spelling correction.

Properties

Property Type Description
enableModification Boolean Indicates whether spelling modifications are enabled. If enabled, user will get the search results for corrected query when there are no results for the original query with typos and get the spelling modification information in queryAlterationResponse property of the response. Optional.
enableSuggestion Boolean Indicates whether spelling suggestions are enabled. If enabled, the user will get 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

The following is a JSON representation of the resource.

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