Skip to main content

ExpressionUnion

Union of expressions of different type.

NameDescriptionType
property_valueExpression for property values.PropertyValueData
id_segmentExpression for document ID segments.IdSegmentData
status_valueExpression for status values such as Document ID or CheckedOutToUser.StatusValueData
file_valueExpression for file values such as file size.FileValueData
typed_valueExpression for values of specific data type. Lookup-typed values also specify the value list.TypedValueData
any_fieldExpression for values of any field (any property, file name etc.).AnyFieldData
permissionsExpression 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 */
}
}