lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Thacker (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-5265) Add backward compatibility tests to JavaBinCodec's format.
Date Mon, 10 Mar 2014 09:16:52 GMT

     [ https://issues.apache.org/jira/browse/SOLR-5265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Varun Thacker updated SOLR-5265:
--------------------------------

    Attachment: SOLR-5265.patch

New Patch.
- Need to apply the patch for SOLR-5837
- Commented out Iterator type - JavaBinCodec writes an iterator but JavaBinCodec#readIterator
returns a List
- Made changes in JavaBinCodec#readMapEntry. Returning this also works 
{noformat}
return new AbstractMap.SimpleImmutableEntry(key, value);
{noformat}
- Added a forward compatibility test

> Add backward compatibility tests to JavaBinCodec's format.
> ----------------------------------------------------------
>
>                 Key: SOLR-5265
>                 URL: https://issues.apache.org/jira/browse/SOLR-5265
>             Project: Solr
>          Issue Type: Test
>            Reporter: Adrien Grand
>            Priority: Blocker
>             Fix For: 4.7
>
>         Attachments: SOLR-5265.patch, SOLR-5265.patch
>
>
> Since Solr guarantees backward compatibility of JavaBinCodec's format between releases,
we should have tests for it.



--
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


Mime
View raw message