[
https://jira.duraspace.org/browse/DS-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26806#comment-26806
]
Robin Taylor commented on DS-1377:
----------------------------------
Hi Ivan,
Try a search for ((author:o'neill)) at 1.8, or 3.0. It treats the apostrophe as
a separator and effectively searches for matches on 'o'. For live examples
see...
1.6 - https://repository.abertay.ac.uk
1.8 - http://www.era.lib.ed.ac.uk
I think this has gone unnoticed because there don't appear to be many live
installations that have upgraded to 1.8 from an earlier version. We upgraded
six installations here for various sites and only one repo administrator
noticed the difference in the search behaviour.
I agree that we don't need to do anything for 3.0.
Cheers.
> Lucene searches changed behaviour at DSpace 1.8
> -----------------------------------------------
>
> Key: DS-1377
> URL: https://jira.duraspace.org/browse/DS-1377
> Project: DSpace
> Issue Type: Bug
> Affects Versions: 1.8.0, 1.8.1, 1.8.2, 3.0
> Reporter: Robin Taylor
>
> At DSpace 1.8 the underlying Lucene libraries were upgraded from version 2.x
> to 3.3, this appears to have changed the default search behaviour.
> Prior to version 3.x the default Lucene Analyzer behaviour was set to be
> English language. At 3.x Lucene abandoned this bias and the standard
> behaviour became more language neutral. To continue using the 'old' behaviour
> you either had to specify a 'matchVersion' of 2.x or change your local code
> to use what was now called the ClassicFilter/Tokeniser. At 1.8 the DSpace
> code was changed to specify a matchVersion of 3.3 but without making the
> necessary code changes to use the ClassicFilter. As a result the default
> behaviour was no longer English language.
> For a quick fix look for any references to 'LUCENE_3' in the DSpace code and
> change them to be LUCENE_29.
> For a medium term fix we should change the DSpace code to use the updated
> Lucene code.
> For a long term fix we should dump Lucene and consolidate around Solr.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel