A group is a collection of filters with conditions.
All the filters Each filter in a search can be compared to a condition in an if-statement, i.e. all the filters in a search can be compared to an a single if-statement.
Example:
If a search only has these three filters, the comparable if-statement is (in pseudo code)
...
Example of how to create a Group:
- Go to the Search Editor
...
- Click "Add group"
...
- Add a filter
- Choose a Condition
- Rinse and repeat until satisfied.
View file | ||||
---|---|---|---|---|
|
...
Code Block |
---|
If(asset.asset_type is in the supplied list of asset types AND asset.assetid is in the supplied list of asset IDs AND asset.itemid is in the supplied list of item IDs AND (asset_detail.name equals the supplied name OR asset's keywords meta data has a keyword, which equals the supplied keyword)) { AddAssetToResults() } |
...
In conclusion: a group can be compared to parentheses in an if-statement.