A named expression that can be evaluated at search time. Can be used for sorting and filtering search results and constructing other expressions.
| C# |
public class Expression
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| Expression()()()() | Initializes a new instance of the Expression class | |
| Equals(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: | |
| 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: | |
| 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
|
| Object | |
| Expression | |