AWS SDK for .NET Documentation
DocumentSuggesterOptions Class
AmazonAmazon.CloudSearch.ModelDocumentSuggesterOptions Did this page help you?   Yes   No    Tell us about it...

Options for a search suggester.

Declaration Syntax
C#
public class DocumentSuggesterOptions
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DocumentSuggesterOptions()()()()
Initializes a new instance of the DocumentSuggesterOptions class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FuzzyMatching
The level of fuzziness allowed when suggesting matches for a string: none, low, or high. With none, the specified string is treated as an exact prefix. With low, suggestions must differ from the specified string by no more than one character. With high, suggestions can differ by up to two characters. The default is none.

Constraints:

Allowed Values
none, low, high


GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
SortExpression
An expression that computes a score for each suggestion to control how they are sorted.

SourceField
The name of the index field you want to use for suggestions.

Constraints:

Length
1 - 64
Pattern
[a-z][a-z0-9_]*


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithFuzzyMatching(String) Obsolete.
Sets the FuzzyMatching property

WithSortExpression(String) Obsolete.
Sets the SortExpression property

WithSourceField(String) Obsolete.
Sets the SourceField property

Inheritance Hierarchy
Object
DocumentSuggesterOptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)