Class: Aws::CloudSearch::Types::Expression
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudSearch::Types::Expression
- Defined in:
- gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb
Overview
When making an API call, you may pass Expression data as a 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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#expression_name ⇒ String
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
-
#expression_value ⇒ String
The expression to evaluate for sorting while processing a search request.
Instance Attribute Details
#expression_name ⇒ String
Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).
1605 1606 1607 1608 1609 1610 |
# File 'gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb', line 1605 class Expression < Struct.new( :expression_name, :expression_value) SENSITIVE = [] include Aws::Structure end |
#expression_value ⇒ String
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.
1605 1606 1607 1608 1609 1610 |
# File 'gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/types.rb', line 1605 class Expression < Struct.new( :expression_name, :expression_value) SENSITIVE = [] include Aws::Structure end |