AWS SDK for .NET Documentation
DefineIndexField Method (defineIndexFieldRequest)
Amazon ► Amazon.CloudSearch ► AmazonCloudSearch ► DefineIndexField(DefineIndexFieldRequest)
Did this page help you? Yes No Tell us about it...

Configures an IndexField for the search domain. Used to create new fields and modify existing ones. You must specify the name of the domain you are configuring and an index field configuration. The index field configuration specifies a unique name, the index field type, and the options you want to configure for the field. The options you can specify depend on the IndexFieldType . If the field exists, the new configuration replaces the old one. For more information, see Configuring Index Fields in the Amazon CloudSearch Developer Guide .

Declaration Syntax

C#

    DefineIndexFieldResponse DefineIndexField(
    	DefineIndexFieldRequest defineIndexFieldRequest
    )

Parameters

defineIndexFieldRequest (DefineIndexFieldRequest)
  Container for the necessary parameters to execute the DefineIndexField service method on AmazonCloudSearch.

Return Value
The response from the DefineIndexField service method, as returned by AmazonCloudSearch.
Exceptions

Exception | Condition
--- | ---
InternalException |
InvalidTypeException |
ResourceNotFoundException |
LimitExceededException |
BaseException |

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