Queries with bolean OR
I would like to find assets with specific tags OR specific categories? How is the syntax for combining these conditions with the OR operator?
|
8 answers
|
For classification you will do:
Not sure that there is a syntax for tags |
http://publib.boulder.ibm.com/infocenter/ramhelp/v7r5m0/topic/com.ibm.ram.doc/topics/r_search_syntax.html Thanks for that link. Had read it before, but there is only the AND described and my experiments with OR did not work. Especially not with tags. But maybe I made a mistake. |
Look under the heading "Advanced search terms reference". The Query syntax column has "service OR design OR model". That looks for any of those terms anywhere in the asset's metadata, not specifically tags. I'm not sure if there's syntax for tags.
|
To search for tags, use the following syntax:
_fTag:(/some_tag) Note the underscore character before fTag and the slash before the tag. Also, the tag must be all lowercase and any spaces replaced with underscores. |
To search for tags, use the following syntax: Is there a way to search for an asset which has no tags? I'm specifically looking to run a report that shows which assets we forgot to tag. Thanks, Pete K. |
* NOT _fTag:(*) |
* NOT _fTag:(*) Beautiful, worked like a charm. Thanks! |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.