Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Pulsar
-
Pulsar 241 - Site Dev APIs 1
Description
Hey,
NHSD have a requirement of grouping certain document types together.
For example they wish to group "publicationsystem:publication", "publicationsystem:legacypublication" & "publicationsystem:archive" into a single facet on the site "publication".
To achieve this we can do it through the connect API with multiple FQ parameters in the search query e.g:
&fq=xmPrimaryDocType:"publicationsystem:publication"&fq=xmPrimaryDocType:"publicationsystem:legacypublication"&fq=xmPrimaryDocType:"publicationsystem:archive"
The com.onehippo.search.integration.impl.QueryBuilderImpl#filterQuery skips any duplicate FQ parameter names.
Could this be changed to support multiple instances of the same FQ parameter but with a different value?
This blocks the grouping of doctype facets for NHSD.
Please let me know if you require any more information.
Thanks
Shane