Discussion:
[Dspace-tech] Search problem in DSpace 5.2 Mirage2
George Stanley Kozak
2015-08-26 16:43:44 UTC
Permalink
Hi, Everyone:

I wrote to the list back in July about a search problem that we were having with DSpace 5.2 XMLUI Mirage 2 theme.
The problem was that if you did a search of a phrase (such as "Cornell University"), your search results would contain the word "Cornell" and the word "University". In effect, the search was ignoring the quotes and giving you an "OR" search instead of an "AND" search.

Bram Luyten confirmed that this was happening on the demo site.

I haven't heard anything since then, and I wonder if this is planned to be fixed. I have some users pretty upset about this and the complaints are making their way up my management chain :(

Anyway help that I can get would be great!

George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
Andrea Schweer
2015-08-26 22:06:05 UTC
Permalink
------------------------------------------------------------------------------
George Stanley Kozak
2015-08-26 23:06:10 UTC
Permalink
Andrea:

I haven't tested outside of Mirage2 XMLUI, but I will.
George

From: Andrea Schweer [mailto:***@waikato.ac.nz]
Sent: Wednesday, August 26, 2015 6:06 PM
To: George Stanley Kozak <***@cornell.edu>; dspace-***@lists.sourceforge.net
Subject: Re: [Dspace-tech] Search problem in DSpace 5.2 Mirage2

Hi George,
On 27/08/15 04:43, George Stanley Kozak wrote:
I wrote to the list back in July about a search problem that we were having with DSpace 5.2 XMLUI Mirage 2 theme.
The problem was that if you did a search of a phrase (such as "Cornell University"), your search results would contain the word "Cornell" and the word "University". In effect, the search was ignoring the quotes and giving you an "OR" search instead of an "AND" search.

Bram Luyten confirmed that this was happening on the demo site.

I haven't heard anything since then, and I wonder if this is planned to be fixed. I have some users pretty upset about this and the complaints are making their way up my management chain :(

Anyway help that I can get would be great!

I filed a search-related bug report a little while ago (though I could probably have picked a better title): https://jira.duraspace.org/browse/DS-2699 -- this issue currently needs a volunteer.

I wouldn't be surprised if what you're seeing is caused by the same thing, basically, somewhat overzealous escaping of special characters in the search (which was introduced to fix a bug I had unfortunately snuck into DSpace 5.2, which in turn was intended to fix issues with searching for phrases containing colons).

Is the behaviour you're seeing limited to Mirage 2/XMLUI?

cheers,
Andrea



--

Dr Andrea Schweer

IRR Technical Specialist, ITS Information Systems

The University of Waikato, Hamilton, New Zealand

Loading...