Filter search failes in DSpace 7.5 Author and Subject browse.

21 views
Skip to first unread message

Edmund Balnaves

unread,
May 25, 2023, 9:44:04 PM5/25/23
to DSpace Technical Support
We have implemented a server with DSpace 7.5 api & angular interface.

The browse menu filter function was not working with DSpace 7.5 (but works ok in earlier versions).

To reproduce:
-Use the All communities author or subject browse.
-Use the browse within to search within the author/subject list
-This generates a SOLR search using the prefix function from the new _prefix search
-Click through on the results always yields no items.

Prior to 7.5 this generated a SOLR using facet filter function.  This returns specific matching facets which list correctly in the UI.

I reversed the search elements of patch # fc6ac8e in order to get the API to generate an _filter rather than a _prefix faceted search as follows:

Changes to comment out use of the _prefix filter were made to getFacetFields  function in SolrServiceImpl.java and to getFacetResult in DiscoverResult.java to work around the issue.

This workaround resolved the issue for me.  Not fully tested for implications elsewhere as yet.

Edmund







Reply all
Reply to author
Forward
0 new messages