ExpressionUnion
Union of expressions of different type.
| Name | Description | Type |
|---|---|---|
property_value | Expression for property values. | PropertyValueData |
id_segment | Expression for document ID segments. | IdSegmentData |
status_value | Expression for status values such as Document ID or CheckedOutToUser. | StatusValueData |
file_value | Expression for file values such as file size. | FileValueData |
typed_value | Expression for values of specific data type. Lookup-typed values also specify the value list. | TypedValueData |
any_field | Expression for values of any field (any property, file name etc.). | AnyFieldData |
permissions | Expression for permissions (ACL). | PermissionsData |
Examples
/* Expression for property_value */
{
"property_value": {
"property_def": 0,
"data_function": {
"data_function": 9 /* Enum: DataFunction */,
"data": {
"initial_character_group": {
"lcid": 0
}
}
},
"parent_child_behavior": 2 /* Enum: ParentChildBehavior */
}
}
/* Expression for id_segment */
{
"id_segment": {
"segment_size": 0
}
}
/* Expression for status_value */
{
"status_value": {
"type": 16 /* Enum: StatusType */,
"data_function": {
"data_function": 9 /* Enum: DataFunction */,
"data": {
"initial_character_group": {
"lcid": 0
}
}
}
}
}
/* Expression for file_value */
{
"file_value": {
"type": 8 /* Enum: FileValueType */
}
}
/* Expression for typed_value */
{
"typed_value": {
"datatype": 15 /* Enum: Datatype */,
"value_list": 0,
"data_function": {
"data_function": 9 /* Enum: DataFunction */,
"data": {
"initial_character_group": {
"lcid": 0
}
}
},
"parent_child_behavior": 2 /* Enum: ParentChildBehavior */
}
}
/* Expression for any_field */
{
"any_field": {
"options": {
"all": false,
"use_stemming": false,
"search_all_words": false,
"search_any_words": false,
"search_metadata": false,
"search_filedata": false,
"search_aino": false
}
}
}
/* Expression for permissions */
{
"permissions": {
"type": 6 /* Enum: PermissionsExpressionType */
}
}