[ 
https://issues.apache.org/jira/browse/LUCENE-5863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128792#comment-14128792
 ] 

Uwe Schindler commented on LUCENE-5863:
---------------------------------------

Hi,
I think to be safe in TestBackwradsCompatibility(3.x) we should also do a check 
on the reported SegmentInfos version! So if we backwardstest a 4.0 index, we 
should check the version number with the version constant.
This would go inline with renaming all indexes to have a better naming scheme 
(according to LUCENE_x_x_x constants). We could then do something like 
backwardsReader.getSegmentInfos().getVersion() == LUCENE_x_x_x.
We can do this in a separate issue, I would help with the renaming task (please 
Robert, don't complain about this comment again), I just posted it for 
completeness to collect ideas. The smoker stuff also does not really belong 
here.

> Generate backwards compatibility indexes for all 4.x releases
> -------------------------------------------------------------
>
>                 Key: LUCENE-5863
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5863
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: testTheBWCTester.py
>
>
> Currently the versioning here is a total mess, and its inconsistent across 
> bugfix releases.
> We should just generate back compat indexes for every release: regardless of 
> whether the index format changed, even for bugfix releases. This ensures at 
> least we try to test that the back compat is working.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to