XMLUI vs simple-search

68 views
Skip to first unread message

Istvan Vig

unread,
Mar 16, 2020, 5:55:13 AM3/16/20
to DSpace Technical Support
Hello,

I have turned on the feature Open Search in our DSpace development server v. 5.9 by setting up the properties of the websvc.opensearch.enable = true and the related ones. The property websvc.opensearch.formats has html,atom,rss values. This server has set up to run the XMLUI interface with Mirage 2.

Everything is working well expect the fact that the in-browser search capability is not. If the websvc.opensearch.formats has the html option then the browser can eat the DSpace as a search provider based on the description.xml. However, running a seacrh from the browser's search bar results a page not found warning. Of course, if I remove the html option than the browsers are not able to download the description.xml as the comment writes in the dspace.cfg file.

One step further this query http://my-dspace-server/simple-search?query=gate results an empty DSpace page. But if I change the UI to JSPUI this query and the in-browser search is functioning well.

Do you know guys what configuration I missed if any? Or do you know whether the new, version 7 is going to plan to support this feature with the AngularUI?

Thanks.

Tim Donohue

unread,
Mar 16, 2020, 11:59:09 AM3/16/20
to Istvan Vig, DSpace Technical Support
Hello,

A blank page in the XMLUI tends to mean that an error occurred on the backend. I'd recommend looking in the DSpace or Tomcat logs for any errors that may be occurring there.  Here's a guide for how to locate errors in logs: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error

Regarding your DSpace 7 question, yes DSpace 7 will support OpenSearch. 

Tim

From: dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf of Istvan Vig <par...@gmail.com>
Sent: Monday, March 16, 2020 4:11 AM
To: DSpace Technical Support <dspac...@googlegroups.com>
Subject: [dspace-tech] XMLUI vs simple-search
 
--
All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/1864ccd8-9868-416c-b124-a2d1b449dbce%40googlegroups.com.

Istvan Vig

unread,
Jun 16, 2020, 10:33:57 AM6/16/20
to DSpace Technical Support
Thank you Tim! Sorry for my late answer.

In the meantime we upgraded from 5.9 to 6.3 and then I had time to investigate the issue. Finally I had to remove the slash from the end of the configuration string `websvc.opensearch.uicontext = discover` so searching from the browser context results an URL path like `/discover?query=test+string` (and not `/discover/?query=test-string`).
To unsubscribe from this group and stop receiving emails from it, send an email to dspac...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages