We are tagging our components with 1 keyword from a taxonomy tree, thereby indicating its "location" in the taxonomy tree. Now in the backend, given a taxonomy key, I want to query the broker for all components that either use that specific keyword, or a keyword lower in the taxonomy than the specified keyword. I tried to use a CategorizationCriteria, first retrieving all keywords below the given keyword, and then passing those into CategorizationCriteria, but this seems to only find components that have ALL specified keywords, while I need components that use ANY of those keywords. What would be the way to go about this?
-
1I did it using a TaxonomyKeywordCriteria, specifying true to indicate to include keyword branches, and it seems to be working now.– Para JacoCommented Feb 3, 2016 at 8:32
-
Go ahead and convert your comment to an answer so it can be marked as "correct"– Nickoli RoussakovCommented Feb 3, 2016 at 11:53
Add a comment
|