SearchOptions.AutocorrectQuery Property


A bool indicating if the spelling of words in the search query should be corrected. Optional. The default value is true. Set this property before making a service request.

public bool AutocorrectQuery { set; get; }

If AutocorrectQuery property is true, then any misspelled words in the search query are corrected before performing the search.

If the search service finds that a search query needs to be corrected, the corrected query is returned in the SearchResponse.QuerySuggestion Property. However, the corrected query is only used to search for results if AutocorrectQuery property is set to true.

If a corrected query was used to search for results, the returned SearchResultSet.QueryCorrected Property is true.