Searches interspersed with a minus (separated by spaces) will exclude the following term. (AND NOT) ---------------------------------------------------------------------------------------------------
Key: DS-1121 URL: https://jira.duraspace.org/browse/DS-1121 Project: DSpace Issue Type: Bug Components: DSpace API Affects Versions: 1.8.1, 1.8.0 Reporter: Peter Dietz Assignee: Peter Dietz Fix For: post-1.8.x Attachments: Screen Shot 2012-02-08 at 4.30.51 PM.png, Screen Shot 2012-02-08 at 4.31.03 PM.png I have confirmed that this problem exists... Here's the original report. -- In an email to dspace-tech, Jessica Lindholm writes: Dear all, I would like some advice on Boolean operators and their implications on search / search results. Some publications have a minus sign in titles, e.g. in Chronic intraoral pain - assessment of diagnostic methods and prognosis http://hdl.handle.net/2043/12563. This gives us a problem when searching for the item. It coincides with '-' minus being the operator for AND NOT, so we all of a sudden look for stuff without specific words. A simple free-text search matching the title above leads to zero hits. And users tend to e.g. copy a title from a reference list to the search box. Has anyone encountered the same problem? We have looked around and haven't found a solution (stopwords, tokens, queries). We are using AND as standard operator for all searches, i.e. we have that changed in config.xml (from default OR). If we had used OR as default the problem wouldn't appear, and possibly this opens up for a logical slip in the system (or by me, which is not unlikely at all). Google uses the same operator, but handling it differently when surrounded by whitespaces. Is this a possible bug encountered? We would preferably like to change the Boolean operators to usage of capitalised AND NOT, AND etc instead of -,+. Believing this would solve the issue. Is this possible (Java okay)? However when matching exact, using quotation marks both the searches: "Chronic intraoral pain assessment of diagnostic methods and prognosis" (minus excluded) and "Chronic intraoral pain - assessment of diagnostic methods and prognosis" works fine. So the minus is treated to some extent. Looking forward to understand better, Jessica Lindholm Ps Malmo university is using DSpace (1.8.*) XMLUI as our institutional repository. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.duraspace.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel