Share via


SpellSuggestions Class

Definition

Defines a suggested query string that likely represents the user's intent. The search results include this response if Bing determines that the user may have intended to search for something different. For example, if the user searches for alon brown, Bing may determine that the user likely intended to search for Alton Brown instead (based on past searches by others of Alon Brown).

public class SpellSuggestions : Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.SearchResultsAnswer
type SpellSuggestions = class
    inherit SearchResultsAnswer
Public Class SpellSuggestions
Inherits SearchResultsAnswer
Inheritance

Constructors

SpellSuggestions()

Initializes a new instance of the SpellSuggestions class.

SpellSuggestions(IList<Query>, String, String, IList<Query>, QueryContext, Nullable<Int64>, Nullable<Boolean>)

Initializes a new instance of the SpellSuggestions class.

Properties

FollowUpQueries (Inherited from Answer)
Id

Gets a String identifier.

(Inherited from Identifiable)
IsFamilyFriendly (Inherited from SearchResultsAnswer)
QueryContext (Inherited from SearchResultsAnswer)
TotalEstimatedMatches

Gets the estimated number of webpages that are relevant to the query. Use this number along with the count and offset query parameters to page the results.

(Inherited from SearchResultsAnswer)
Value

Gets or sets a list of suggested query strings that may represent the user's intention. The list contains only one Query object.

WebSearchUrl

Gets the URL To Bing's search result for this item.

(Inherited from Response)

Methods

Validate()

Validate the object.

Applies to