[
https://jira.duraspace.org/browse/DS-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robin Taylor updated DS-1377:
-----------------------------
Description:
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.
was:
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 specify
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.
> 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