Combine 'and/all' and 'or/any' in a tag-based search for content

81
0
02-26-2020 12:29 PM
Trippetoe
Occasional Contributor III

Is there a way to combine 'and' and 'or' in a single tag-based search in Hub?  For example, i want to search for content that contains all the tags 'transportation, economy, safety' OR contains the tag 'reference'.  

I can create a tag-based search URLs like

/search?tags=all(transportation%2cecononmy%2csafety)

and

/search?tags=any(reference)

which work as expected. But i can't figure out a way to combine those two queries into a single one. I was thinking/hoping that something like 

/search?tags=any(all(transportation%2cecononmy%2csafety)%2creference))

might work, but not yet. 

Simply adding the tag 'reference' to the "all" search term is too restrictive because not every layer is a reference layer; and adding all the tags to the "any" search term is too inclusive.....

Thanks for any suggestions 

0 Kudos
0 Replies