Advanced Search doesnt treat ':' properly 
------------------------------------------

                 Key: DS-564
                 URL: http://jira.dspace.org/jira/browse/DS-564
             Project: DSpace 1.x
          Issue Type: Bug
          Components: XMLUI
    Affects Versions: 1.5.2
            Reporter: Flávio Botelho
            Priority: Minor
         Attachments: 
patch_properly_escape_double_points_from_lucene_during_search.txt

If you try to search for a field (ie title) with the character ":" almost 
surely no document matches will be found because the character is passed 
literally to lucene.

Attached is a patch to escape this character...

Maybe other special characters should be escaped too, but i am not sure. just 
escaping ':' allows the users to use wildcards if they want to... (Doubt that 
is used is our case, but not much sure about general dspace usage)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to