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.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudSearch::Types::Expression

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Expression as input to an Aws::Client method, you can use a vanilla Hash:

{
  expression_name: "StandardName", # required
  expression_value: "ExpressionValue", # required
}

A named expression that can be evaluated at search time. Can be used to sort the search results, define other expressions, or return computed information in the search results.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#expression_nameString

Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).

Returns:

  • (String)

    Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).

    .

#expression_valueString

The expression to evaluate for sorting while processing a search request. The Expression syntax is based on JavaScript expressions. For more information, see Configuring Expressions in the Amazon CloudSearch Developer Guide.

Returns:

  • (String)

    The expression to evaluate for sorting while processing a search request.