Searching for Tags

To search for tags, simply enter a search that is limited to the content type com.escenic.tag:

http://your-host/solr/select?q=christmas&contenttype=com.escenic.tag&wt=xml&rows=20

This query will return any tags that have either a label or an alias that starts with the string christmas. In other words, it will also return tags called christmastide and christmasgifts if they exist. If you want carry out an exact tag search, then you can do so by adding a tagName parameter to the query:

http://your-host/solr/select?q=christmas&tagName=christmas&contenttype=com.escenic.tag&wt=xml&rows=20

The tagName parameter acts as a filter, and will only return tags with a name (but not an alias) that exactly matches christmas. (Note however, that the matching is not case-sensitive, so it will also return a tag called Christmas.)