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.