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

Options for text field. Present if IndexFieldType specifies the field is of type text . A text field is always searchable. All options are enabled by default.

Declaration Syntax
C#
public class TextOptions
Members
All MembersConstructorsMethodsProperties



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

AnalysisScheme
The name of an analysis scheme for a text field.

Constraints:

Pattern
[\S]+


DefaultValue
A value to use for the field if the field isn't specified for a document.

Constraints:

Length
0 - 1024


Equals(Object)
Determines whether the specified Object is equal to the current 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.)
HighlightEnabled
Whether highlights can be returned for the field.

ReturnEnabled
Whether the contents of the field can be returned in the search results.

SortEnabled
Whether the field can be used to sort the search results.

SourceField
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:

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


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

WithDefaultValue(String) Obsolete.
Sets the DefaultValue property

WithHighlightEnabled(Boolean) Obsolete.
Sets the HighlightEnabled property

WithReturnEnabled(Boolean) Obsolete.
Sets the ReturnEnabled property

WithSortEnabled(Boolean) Obsolete.
Sets the SortEnabled property

WithSourceField(String) Obsolete.
Sets the SourceField property

Inheritance Hierarchy
Object
TextOptions

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