Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::SpellCorrectionSpec.
The specification for query spell correction.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#mode
def mode() -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::SpellCorrectionSpec::Mode
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::SpellCorrectionSpec::Mode) — The mode under which spell correction should take effect to replace the original search query. Default to Mode.AUTO.
#mode=
def mode=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::SpellCorrectionSpec::Mode
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::SpellCorrectionSpec::Mode) — The mode under which spell correction should take effect to replace the original search query. Default to Mode.AUTO.
Returns
- (::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::SpellCorrectionSpec::Mode) — The mode under which spell correction should take effect to replace the original search query. Default to Mode.AUTO.