AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Options for a search suggester.

Inheritance Hierarchy

System.Object
  Amazon.CloudSearch.Model.DocumentSuggesterOptions

Namespace: Amazon.CloudSearch.Model
Assembly: AWSSDK.CloudSearch.dll
Version: 3.x.y.z

Syntax

C#
public class DocumentSuggesterOptions

The DocumentSuggesterOptions type exposes the following members

Constructors

NameDescription
Public Method DocumentSuggesterOptions()

Properties

NameTypeDescription
Public Property FuzzyMatching Amazon.CloudSearch.SuggesterFuzzyMatching

Gets and sets the property 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.

Public Property SortExpression System.String

Gets and sets the property SortExpression.

An expression that computes a score for each suggestion to control how they are sorted. The scores are rounded to the nearest integer, with a floor of 0 and a ceiling of 2^31-1. A document's relevance score is not computed for suggestions, so sort expressions cannot reference the _score value. To sort suggestions using a numeric field or existing expression, simply specify the name of the field or expression. If no expression is configured for the suggester, the suggestions are sorted with the closest matches listed first.

Public Property SourceField System.String

Gets and sets the property SourceField.

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

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms