Configuration information for a search suggester. Each suggester has a unique name and specifies the text field you want to use for suggestions. The following options can be configured for a suggester: FuzzyMatching , SortExpression .
| C# |
public class Suggester
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Suggester()()()() | Initializes a new instance of the Suggester class | |
| DocumentSuggesterOptions |
Options for a search suggester.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| SuggesterName |
A string that represents the name of an index field. Field names begin with a letter and can contain the following characters: a-z
(lowercase), 0-9, and _ (underscore). The name "score" is reserved and cannot be used as a field name. To reference a document's ID, you can
use the name _id.
Constraints: | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithDocumentSuggesterOptions(DocumentSuggesterOptions) | Obsolete.
Sets the DocumentSuggesterOptions property
| |
| WithSuggesterName(String) | Obsolete.
Sets the SuggesterName property
|
| Object | |
| Suggester | |