Add a Tag search facet by default

Hello,

I’ve noticed that several users have asked how to search for pages containing such and such tags and we don’t have an easy answer. They currently need to:

  1. Add a tag facet as documented at https://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application#HFacetingonObjectProperties
  2. Teach all the users to use the +(property.XWiki.TagClass.tags:tag1 property.XWiki.TagClass.tags:tag2) syntax which is quite hard

Thus this thread is to propose to add a Tag facet by default in XS, as tags are a core feature.

WDYT?

Thanks

2 Likes

+1, but this means we may have to move the Solr search configuration (Main.SolrSearchConfig) out of the Solr Search UI application to the XS flavor, in order to avoid having the Solr search depend on the Tags application.

We also have to see if the default generic xproperty facet provided by the Solr search application is good enough, or if we need to implement a custom facet in the Tags application. The generic facet should be good enough for now I think.

Thanks,
Marius

I’ve created Loading...