Options that define a text field in the search index.
| C# |
public class TextOptions
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| TextOptions()()()() | Initializes a new instance of the TextOptions class | |
| DefaultValue |
The default value for a text field. Optional.
Constraints: | |
| Equals(Object) | (Inherited from Object.) | |
| FacetEnabled |
Specifies whether facets are enabled for this field. Default: False.
| |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| ResultEnabled |
Specifies whether values of this field can be returned in search results and used for ranking. Default: False.
| |
| TextProcessor |
The text processor to apply to this field. Optional. Possible values:
Constraints: | |
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| WithDefaultValue(String) | Obsolete.
Sets the DefaultValue property
| |
| WithFacetEnabled(Boolean) | Obsolete.
Sets the FacetEnabled property
| |
| WithResultEnabled(Boolean) | Obsolete.
Sets the ResultEnabled property
| |
| WithTextProcessor(String) | Obsolete.
Sets the TextProcessor property
|
| Object | |
| TextOptions | |