GlobalAttributeSearch
How to use the GlobalAttributeSearch operator
The GlobalAttributeSearch
operator returns the items for which the attribute contains either number or string.
Allowed Children
One String node
Requirements
Must have 1 child, must be a string node
Return Type
Item Ids Set
Example: Simple string search query
Find items where any attribute contains the term "hello":
{
"type": "Query",
"properties": {
"dodiCode": "designs_welcomes",
"attributes": ["all"]
},
"children": [
{
"type": "GlobalAttributeSearch",
"children": [
{
"type": "String",
"value": ["hello"]
}
]
}
]
}