How does searching based on tags work in AEM? Or in other words, how does tagging pages or assets bring them them up as results of a search operation - how is this implemented?
Was playing around with the foundation Search component and it seems searching with any tag (even container tags) forming part of the tagId would return pages associated with that tagID as a search result.
For e.g. if a page is tagged with tagID /etc/tags/tagNamespace/tagA/tabB/tagC, then doing a search with either 'tagA', tagB or tagC returns this page as a search result.
Is this search behavior likely to change if there's any change in the index configurations or the search platform itself is changed (e.g. using solr instead of lucene)?
Any insight here would be much appreciated. Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
It depends upon how the query is formulated. If you run a full-text search (i.e. using the contains operator), then all keywords are searched, which in this case includes all of the path segements of the tagId. If you run a property search on the cq:tags property, then the exact property value would be matched.
Regards,
Justin
Views
Replies
Total Likes
Hi jake j
I would ask one of our DAM engineer for this question, and would try to get back to you on this.
Some Reference article to read:-
Link:- http://www.connectcon.ch/content/dam/cqcon/Pr%C3%A4sentation_Marcel_Reutegger.pdf
Link:- https://docs.adobe.com/docs/en/aem/6-1/author/site-page-features/tags.html
Link:- https://docs.adobe.com/docs/en/aem/6-1/administer/content/tags.html
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Hi,
It depends upon how the query is formulated. If you run a full-text search (i.e. using the contains operator), then all keywords are searched, which in this case includes all of the path segements of the tagId. If you run a property search on the cq:tags property, then the exact property value would be matched.
Regards,
Justin
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Like
Replies