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
Configuration information for a field in the index, including its name, type, and options. The supported options depend on the IndexFieldType.

Inheritance Hierarchy


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


public class IndexField : Object

The IndexField type exposes the following members


Public Method IndexField()


Public Property DateArrayOptions Amazon.CloudSearch.Model.DateArrayOptions Gets and sets the property DateArrayOptions.
Public Property DateOptions Amazon.CloudSearch.Model.DateOptions Gets and sets the property DateOptions.
Public Property DoubleArrayOptions Amazon.CloudSearch.Model.DoubleArrayOptions Gets and sets the property DoubleArrayOptions.
Public Property DoubleOptions Amazon.CloudSearch.Model.DoubleOptions Gets and sets the property DoubleOptions.
Public Property IndexFieldName System.String Gets and sets the property IndexFieldName.

A string that represents the name of an index field. CloudSearch supports regular index fields as well as dynamic fields. A dynamic field's name defines a pattern that begins or ends with a wildcard. Any document fields that don't map to a regular index field but do match a dynamic field's pattern are configured with the dynamic field's indexing options.

Regular field names begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). Dynamic field names must begin or end with a wildcard (*). The wildcard can also be the only character in a dynamic field name. Multiple wildcards, and wildcards embedded within a string are not supported.

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.

Public Property IndexFieldType Amazon.CloudSearch.IndexFieldType Gets and sets the property IndexFieldType.
Public Property IntArrayOptions Amazon.CloudSearch.Model.IntArrayOptions Gets and sets the property IntArrayOptions.
Public Property IntOptions Amazon.CloudSearch.Model.IntOptions Gets and sets the property IntOptions.
Public Property LatLonOptions Amazon.CloudSearch.Model.LatLonOptions Gets and sets the property LatLonOptions.
Public Property LiteralArrayOptions Amazon.CloudSearch.Model.LiteralArrayOptions Gets and sets the property LiteralArrayOptions.
Public Property LiteralOptions Amazon.CloudSearch.Model.LiteralOptions Gets and sets the property LiteralOptions.
Public Property TextArrayOptions Amazon.CloudSearch.Model.TextArrayOptions Gets and sets the property TextArrayOptions.
Public Property TextOptions Amazon.CloudSearch.Model.TextOptions Gets and sets the property TextOptions.

Version Information

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

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