You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2014/05/10 23:55:31 UTC

[jira] [Commented] (LUCENE-5619) TestBackwardsCompatibility needs updatable docvalues

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

Shai Erera commented on LUCENE-5619:
------------------------------------

I am looking into this since it's important to have it in place before the work on LUCENE-5618 (and LUCENE-5636).

bq. I am not sure about the rules here: is it ok to apply updates to e.g. a 3.x or 4.0 index?

No, updating those indexes is not supported (we even suppress those codecs in tests), since those codecs did not take the segmentSuffix into account. We've decided that in order to use updatable DocValues, you need to index with 4.6+, or re-create the index if it was created with earlier versions. More so, old formats' consumers aren't shipped w/ Lucene anyway.

I'll look into adding those indexes to TestBackCompat -- recreate them w/ few numeric and binary doc-values and then try to update them with newer code.

> TestBackwardsCompatibility needs updatable docvalues
> ----------------------------------------------------
>
>                 Key: LUCENE-5619
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5619
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> We don't test this at all in TestBackCompat. this is scary!



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org