// Configures an analysis scheme that can be applied to a text or text-array field
// to define language-specific text processing options. For more information, see
// Configuring Analysis Schemes
// (http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html)
// in the Amazon CloudSearch Developer Guide.
Configures an analysis scheme that can be applied to a text or text-array field
to define language-specific text processing options. For more information, see
Configuring Analysis Schemes

in the Amazon CloudSearch Developer Guide.
// Configures an analysis scheme that can be applied to a text or text - array field // to define language - specific text processing options . For more information see // Configuring Analysis Schemes // ( http : // docs . aws . amazon . com / cloudsearch / latest / developerguide / configuring - analysis - schemes . html ) // in the Amazon CloudSearch Developer Guide .
func (c *Client) DefineAnalysisScheme(ctx context.Context, params *DefineAnalysisSchemeInput, optFns ...func(*Options)) (*DefineAnalysisSchemeOutput, error) {
	if params == nil {
		params = &DefineAnalysisSchemeInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "DefineAnalysisScheme", params, optFns, addOperationDefineAnalysisSchemeMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*DefineAnalysisSchemeOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) DefineAnalysisScheme ( ctx context . Context , params * DefineAnalysisSchemeInput , optFns ... func ( * Options ) ) ( * DefineAnalysisSchemeOutput , error ) { if params == nil { params = & DefineAnalysisSchemeInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationDefineAnalysisSchemeMiddlewares ) if err != nil { return nil , err } out := result . ( * DefineAnalysisSchemeOutput ) out . ResultMetadata = metadata return out , nil }
Configures an analysis scheme that can be applied to a text or text-array field
to define language-specific text processing options.
Configures an analysis scheme that can be applied to a text or text - array field to define language - specific text processing options .