Apache Solr open-source search software
LUCENE-5863: port forward. the nocommit is intentional.
Robert Muir8704af45b104
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.javaindex 4a746f62f62..1464547824b 100644--- a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java+++ b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java@@ -169,17 +169,44 @@ public class TestBackwardsCompatibility extends LuceneTestCase {}*/final static String[] oldNames = {+ "40a.cfs",+ "40a.nocfs",+ "40b.cfs",+ "40b.nocfs","40.cfs","40.nocfs","41.cfs","41.nocfs","42.cfs","42.nocfs",+ "421.cfs",+ "421.nocfs",+ "43.cfs",+ "43.nocfs",+ "431.cfs",+ "431.nocfs",+ "44.cfs",+ "44.nocfs",+ // nocommit: WTF IS THIS TODO?! this isnt a TODO, its a NORELEASE// TODO: these are on 4x, but something is wrong (they seem to be a too old DV format):"45.cfs","45.nocfs",+ "451.cfs",+ "451.nocfs",+ "46.cfs",+ "46.nocfs","461.cfs","461.nocfs",+ "47.cfs",+ "47.nocfs",+ "471.cfs",+ "471.nocfs",+ "472.cfs",+ "472.nocfs",+ "48.cfs",+ "48.nocfs",+ "481.cfs",+ "481.nocfs","49.cfs","49.nocfs","410.cfs",@@ -199,20 +226,46 @@ public class TestBackwardsCompatibility extends LuceneTestCase {"23.nocfs","24.cfs","24.nocfs",+ "241.cfs",+ "241.nocfs","29.cfs","29.nocfs",+ "291.cfs",+ "291.nocfs",+ "292.cfs",+ "292.nocfs",+ "293.cfs",+ "293.nocfs",+ "294.cfs",+ "294.nocfs","30.cfs","30.nocfs",+ "301.cfs",+ "301.nocfs",+ "302.cfs",+ "302.nocfs",+ "303.cfs",+ "303.nocfs","31.cfs","31.nocfs","32.cfs","32.nocfs",+ "33.cfs",+ "33.nocfs","34.cfs",- "34.nocfs"+ "34.nocfs",+ "35.cfs",+ "35.nocfs",+ "36.cfs",+ "36.nocfs",+ "361.cfs",+ "361.nocfs",+ "362.cfs",+ "362.nocfs"};- final static String[] oldSingleSegmentNames = {"40.optimized.cfs",- "40.optimized.nocfs",+ final static String[] oldSingleSegmentNames = {"40a.optimized.cfs",+ "40a.optimized.nocfs",};static Map<String,Directory> oldIndexDirs;diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40.cfs.zipindex 4974749098a..3dd1ead641e 100644Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40.cfs.zip and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40.nocfs.zipindex 9699080764e..999789a31ff 100644Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40.nocfs.zip and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40a.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40a.cfs.zipnew file mode 100644index 00000000000..4974749098aBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40a.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40a.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40a.nocfs.zipnew file mode 100644index 00000000000..9699080764eBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40a.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40.optimized.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40a.optimized.cfs.zipsimilarity index 100%rename from lucene/backward-codecs/src/test/org/apache/lucene/index/index.40.optimized.cfs.ziprename to lucene/backward-codecs/src/test/org/apache/lucene/index/index.40a.optimized.cfs.zipdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40.optimized.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40a.optimized.nocfs.zipsimilarity index 100%rename from lucene/backward-codecs/src/test/org/apache/lucene/index/index.40.optimized.nocfs.ziprename to lucene/backward-codecs/src/test/org/apache/lucene/index/index.40a.optimized.nocfs.zipdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40b.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40b.cfs.zipnew file mode 100644index 00000000000..f33ef34e584Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40b.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40b.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40b.nocfs.zipnew file mode 100644index 00000000000..ecec878a84eBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.40b.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.421.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.421.cfs.zipnew file mode 100644index 00000000000..9d0b6e052e2Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.421.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.421.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.421.nocfs.zipnew file mode 100644index 00000000000..2e963c672c0Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.421.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.43.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.43.cfs.zipnew file mode 100644index 00000000000..59812ee93a0Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.43.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.43.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.43.nocfs.zipnew file mode 100644index 00000000000..3fa302328a7Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.43.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.431.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.431.cfs.zipnew file mode 100644index 00000000000..01b66b65074Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.431.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.431.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.431.nocfs.zipnew file mode 100644index 00000000000..dd80b03c8f5Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.431.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.44.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.44.cfs.zipnew file mode 100644index 00000000000..18ed8cab05eBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.44.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.44.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.44.nocfs.zipnew file mode 100644index 00000000000..ad7dead7e3fBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.44.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.451.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.451.cfs.zipnew file mode 100644index 00000000000..68bf61c3ad6Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.451.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.451.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.451.nocfs.zipnew file mode 100644index 00000000000..91ae2ea173bBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.451.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.46.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.46.cfs.zipnew file mode 100644index 00000000000..e1c48015e2bBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.46.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.46.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.46.nocfs.zipnew file mode 100644index 00000000000..758dbf647e6Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.46.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.47.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.47.cfs.zipnew file mode 100644index 00000000000..1d5fe366195Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.47.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.47.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.47.nocfs.zipnew file mode 100644index 00000000000..4a20ef2e4d1Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.47.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.471.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.471.cfs.zipnew file mode 100644index 00000000000..b0eb81cddbeBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.471.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.471.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.471.nocfs.zipnew file mode 100644index 00000000000..4684f077fe1Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.471.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.472.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.472.cfs.zipnew file mode 100644index 00000000000..a7964a6e680Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.472.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.472.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.472.nocfs.zipnew file mode 100644index 00000000000..459341462adBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.472.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.48.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.48.cfs.zipnew file mode 100644index 00000000000..b05a294b22aBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.48.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.48.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.48.nocfs.zipnew file mode 100644index 00000000000..49831bcf783Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.48.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.481.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.481.cfs.zipnew file mode 100644index 00000000000..3e6afca6edfBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.481.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.481.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.481.nocfs.zipnew file mode 100644index 00000000000..beadd102becBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.481.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.241.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.241.cfs.zipnew file mode 100644index 00000000000..062eeea3cd8Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.241.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.241.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.241.nocfs.zipnew file mode 100644index 00000000000..9f564ebc51fBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.241.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.291.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.291.cfs.zipnew file mode 100644index 00000000000..ccbd8731a27Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.291.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.291.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.291.nocfs.zipnew file mode 100644index 00000000000..5448a65dce4Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.291.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.292.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.292.cfs.zipnew file mode 100644index 00000000000..88e1439cf97Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.292.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.292.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.292.nocfs.zipnew file mode 100644index 00000000000..d2f886f4b05Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.292.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.293.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.293.cfs.zipnew file mode 100644index 00000000000..0cadd0c3332Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.293.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.293.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.293.nocfs.zipnew file mode 100644index 00000000000..508cc420900Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.293.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.294.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.294.cfs.zipnew file mode 100644index 00000000000..33e0a4e1591Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.294.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.294.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.294.nocfs.zipnew file mode 100644index 00000000000..1977c8ee6d0Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.294.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.301.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.301.cfs.zipnew file mode 100644index 00000000000..dfd8df5019eBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.301.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.301.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.301.nocfs.zipnew file mode 100644index 00000000000..1b7e175a127Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.301.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.302.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.302.cfs.zipnew file mode 100644index 00000000000..c6d16c3b4ebBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.302.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.302.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.302.nocfs.zipnew file mode 100644index 00000000000..65cfc5f7c91Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.302.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.303.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.303.cfs.zipnew file mode 100644index 00000000000..1fe5157ef21Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.303.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.303.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.303.nocfs.zipnew file mode 100644index 00000000000..c88bc3179b3Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.303.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.33.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.33.cfs.zipnew file mode 100644index 00000000000..4f57e06d8b8Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.33.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.33.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.33.nocfs.zipnew file mode 100644index 00000000000..71639e1d93eBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.33.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.35.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.35.cfs.zipnew file mode 100644index 00000000000..9d7bb432ee0Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.35.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.35.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.35.nocfs.zipnew file mode 100644index 00000000000..0f5781bfcc0Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.35.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.36.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.36.cfs.zipnew file mode 100644index 00000000000..4edbc35c0f7Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.36.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.36.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.36.nocfs.zipnew file mode 100644index 00000000000..7caae25445aBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.36.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.361.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.361.cfs.zipnew file mode 100644index 00000000000..da02feceec3Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.361.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.361.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.361.nocfs.zipnew file mode 100644index 00000000000..774ef0923c0Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.361.nocfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.362.cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.362.cfs.zipnew file mode 100644index 00000000000..f68819ccd7dBinary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.362.cfs.zip differdiff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.362.nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.362.nocfs.zipnew file mode 100644index 00000000000..277f7938e18Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.362.nocfs.zip differ