Hello all,
Given the static list [foo, foo bar, foo/bar] property of an object (XWiki.TagClass), I would like to get all the documents that have any of these terms in the object and to also highlight all the occurrences in the search results, excluding any other object type that may contain any of these terms.
I do not necessarily need to have a facet for the Tag so I only added property.XWiki.TagClass.tags in queryFields, in DOCUMENT, in Main.SolrSearchConfig.
'queryFields': {
'DOCUMENT': 'title^10.0 name^10.0
doccontent^2.0
property.XWiki.TagClass.tags^5.0
objcontent^0.4 filename^0.4 attcontent^0.4 doccontentraw^0.4
author_display^0.08 creator_display^0.08
comment^0.016 attauthor_display^0.016 spaces^0.016',
'ATTACHMENT': 'filename^5.0 attcontent attauthor_display^0.2',
'OBJECT': 'objcontent',
'OBJECT_PROPERTY': 'propertyvalue'
},
In the following image, which can be easily reproduced by adding the above customization and searching for foo term, the matching sequences are identified as individual tags in the Objects section, but only the exact matching is displayed in the Tags section.

I am looking for a way to make the Tags section to display all the results that are displayed in the Objects section.
I hope that I managed to make myself clear and maybe somebody has a clue about how to achieve this.
Thanks,
Alex
