This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
TaxonomyNoEntries Criterion¶
The TaxonomyNoEntries Search Criterion searches for content that has no entries assigned from the specified taxonomy.
Use it when you need to find content items to which no taxonomy entries have been assigned (for example, articles without tags). It is available for all supported search engines and in repository filtering
Arguments¶
taxonomy-stringrepresenting the identifier of the taxonomy (for example,tagsorcategories)
Example¶
PHP¶
The following example searches for articles that have no entries assigned in the tags taxonomy:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
The criteria limit the results to content matching all of the conditions listed below:
- content has no entries assigned in the
tagstaxonomy - content type is
article