AWS SDK Version 2 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.

.NET Framework 4.5
 
Options for a search suggester.

Inheritance Hierarchy

System.Object
  Amazon.CloudSearch.Model.DocumentSuggesterOptions

Namespace: Amazon.CloudSearch.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class DocumentSuggesterOptions : Object

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 Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8