[
http://jira.dspace.org/jira/browse/DS-564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11540#action_11540
]
Claudia Jürgen commented on DS-564:
-----------------------------------
Hi Flavio,
wouldn't QueryParser.escape see
http://lucene.apache.org/lucene.net/docs/2.1/Lucene.Net.QueryParsers.QueryParser.Escape.html
do the trick for all characters to be escaped?
Claudia
> 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
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel