SpellSuggestions Class

public class SpellSuggestions
extends SearchResultsAnswer

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).

Constructor Summary

Constructor Description
SpellSuggestions()

Method Summary

Modifier and Type Method and Description
java.util.List<Query> value()

Get the value value.

SpellSuggestions withValue(List<Query> value)

Set the value value.

Methods inherited from Answer

Methods inherited from Identifiable

id

Methods inherited from Response

Methods inherited from SearchResultsAnswer

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SpellSuggestions

public SpellSuggestions()

Method Details

value

public List value()

Get the value value.

Returns:

the value value

withValue

public SpellSuggestions withValue(List value)

Set the value value.

Parameters:

value - the value value to set

Returns:

the SpellSuggestions object itself.

Applies to