[
https://issues.apache.org/jira/browse/LUCENE-5934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128450#comment-14128450
]
Uwe Schindler edited comment on LUCENE-5934 at 9/10/14 1:13 PM:
----------------------------------------------------------------
Patch for 4.x that fixes the version handling.
I am not really happy, because Version.parse("4.0.0") now parses to
4.0.0-ALPHA, but this is how it was defined and written to index.
I have to check the codecs now, that they correctly detect 4.0 ALPHA/BETA
indexes (e.g., use the right version constant on comparing).
Another thing, theoretically, analyzers must use LUCENE_4_0_0_ALPHA to compare.
Another idea I had would be to add a method {{Version.isMinimumLucene4()}}.
was (Author: thetaphi):
Patch for 4.x that fixes the version handling.
I am not really happy, because Version.parse("4.0.0") now parses to
4.0.0-ALPHA, but this is how it was defined and written to index.
I have to check the codecs now, that they correctly detect 4.0 ALPHA/BETA
indexes (e.g., use the right version constant on comparing).
Another thing, theoretically, analyzers must use LUCENE_4_0_0_ALPHA to compare.
Another idea I had would be to add a static method
{{Version.isMinimumLucene4()}}.
> 4.10 broke backwards compatibility for 4.0 indexes
> --------------------------------------------------
>
> Key: LUCENE-5934
> URL: https://issues.apache.org/jira/browse/LUCENE-5934
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/codecs, core/index
> Affects Versions: 4.10
> Reporter: Robert Muir
> Priority: Blocker
> Fix For: 4.10.1, 4.11, 5.0
>
> Attachments: LUCENE-5934.patch
>
>
> As reported by Ian on the user list:
> Its trying to treat them as 3.x
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]