AWS SDK for .NET Documentation
Expression Class
AmazonAmazon.CloudSearch.ModelExpression Did this page help you?   Yes   No    Tell us about it...

A named expression that can be evaluated at search time. Can be used for sorting and filtering search results and constructing other expressions.

Declaration Syntax
C#
public class Expression
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Expression()()()()
Initializes a new instance of the Expression class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExpressionName
A string that represents the name of an index field. Field names begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore). 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.

Constraints:

Length
1 - 64
Pattern
[a-z][a-z0-9_]*


ExpressionValue
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.

Constraints:

Length
1 - 10240


GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithExpressionName(String) Obsolete.
Sets the ExpressionName property

WithExpressionValue(String) Obsolete.
Sets the ExpressionValue property

Inheritance Hierarchy
Object
Expression

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