You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2016/03/02 15:05:29 UTC

[1/7] lucene-solr git commit: rename old indices to unsupported ones, and remove now unsupported 5.x version constants

Repository: lucene-solr
Updated Branches:
  refs/heads/master 5fbee2045 -> 09aa951ad


rename old indices to unsupported ones, and remove now unsupported 5.x version constants


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/ddbeb2a6
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/ddbeb2a6
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/ddbeb2a6

Branch: refs/heads/master
Commit: ddbeb2a6b0448b1e58a87d3eedaec406937cddf2
Parents: 5fbee20
Author: Mike McCandless <mi...@apache.org>
Authored: Wed Mar 2 06:00:43 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Wed Mar 2 06:00:43 2016 -0500

----------------------------------------------------------------------
 .../org/apache/lucene/index/index.5.0.0-cfs.zip | Bin 13503 -> 0 bytes
 .../apache/lucene/index/index.5.0.0-nocfs.zip   | Bin 13485 -> 0 bytes
 .../index/index.5.0.0.singlesegment-cfs.zip     | Bin 4028 -> 0 bytes
 .../index/index.5.0.0.singlesegment-nocfs.zip   | Bin 6418 -> 0 bytes
 .../org/apache/lucene/index/index.5.1.0-cfs.zip | Bin 13523 -> 0 bytes
 .../apache/lucene/index/index.5.1.0-nocfs.zip   | Bin 13530 -> 0 bytes
 .../org/apache/lucene/index/index.5.2.0-cfs.zip | Bin 13528 -> 0 bytes
 .../apache/lucene/index/index.5.2.0-nocfs.zip   | Bin 13539 -> 0 bytes
 .../org/apache/lucene/index/index.5.2.1-cfs.zip | Bin 13568 -> 0 bytes
 .../apache/lucene/index/index.5.2.1-nocfs.zip   | Bin 13566 -> 0 bytes
 .../org/apache/lucene/index/index.5.3.0-cfs.zip | Bin 13747 -> 0 bytes
 .../apache/lucene/index/index.5.3.0-nocfs.zip   | Bin 13731 -> 0 bytes
 .../org/apache/lucene/index/index.5.3.1-cfs.zip | Bin 13701 -> 0 bytes
 .../apache/lucene/index/index.5.3.1-nocfs.zip   | Bin 13703 -> 0 bytes
 .../org/apache/lucene/index/index.5.3.2-cfs.zip | Bin 13724 -> 0 bytes
 .../apache/lucene/index/index.5.3.2-nocfs.zip   | Bin 13708 -> 0 bytes
 .../org/apache/lucene/index/index.5.4.0-cfs.zip | Bin 13738 -> 0 bytes
 .../apache/lucene/index/index.5.4.0-nocfs.zip   | Bin 13730 -> 0 bytes
 .../org/apache/lucene/index/index.5.4.1-cfs.zip | Bin 13761 -> 0 bytes
 .../apache/lucene/index/index.5.4.1-nocfs.zip   | Bin 13766 -> 0 bytes
 .../org/apache/lucene/index/index.5.5.0-cfs.zip | Bin 24776 -> 0 bytes
 .../apache/lucene/index/index.5.5.0-nocfs.zip   | Bin 13756 -> 0 bytes
 .../lucene/index/unsupported.5.0.0-cfs.zip      | Bin 0 -> 13503 bytes
 .../lucene/index/unsupported.5.0.0-nocfs.zip    | Bin 0 -> 13485 bytes
 .../unsupported.5.0.0.singlesegment-cfs.zip     | Bin 0 -> 4028 bytes
 .../unsupported.5.0.0.singlesegment-nocfs.zip   | Bin 0 -> 6418 bytes
 .../lucene/index/unsupported.5.1.0-cfs.zip      | Bin 0 -> 13523 bytes
 .../lucene/index/unsupported.5.1.0-nocfs.zip    | Bin 0 -> 13530 bytes
 .../lucene/index/unsupported.5.2.0-cfs.zip      | Bin 0 -> 13528 bytes
 .../lucene/index/unsupported.5.2.0-nocfs.zip    | Bin 0 -> 13539 bytes
 .../lucene/index/unsupported.5.2.1-cfs.zip      | Bin 0 -> 13568 bytes
 .../lucene/index/unsupported.5.2.1-nocfs.zip    | Bin 0 -> 13566 bytes
 .../lucene/index/unsupported.5.3.0-cfs.zip      | Bin 0 -> 13747 bytes
 .../lucene/index/unsupported.5.3.0-nocfs.zip    | Bin 0 -> 13731 bytes
 .../lucene/index/unsupported.5.3.1-cfs.zip      | Bin 0 -> 13701 bytes
 .../lucene/index/unsupported.5.3.1-nocfs.zip    | Bin 0 -> 13703 bytes
 .../lucene/index/unsupported.5.3.2-cfs.zip      | Bin 0 -> 13724 bytes
 .../lucene/index/unsupported.5.3.2-nocfs.zip    | Bin 0 -> 13708 bytes
 .../lucene/index/unsupported.5.4.0-cfs.zip      | Bin 0 -> 13738 bytes
 .../lucene/index/unsupported.5.4.0-nocfs.zip    | Bin 0 -> 13730 bytes
 .../lucene/index/unsupported.5.4.1-cfs.zip      | Bin 0 -> 13761 bytes
 .../lucene/index/unsupported.5.4.1-nocfs.zip    | Bin 0 -> 13766 bytes
 .../lucene/index/unsupported.5.5.0-cfs.zip      | Bin 0 -> 24776 bytes
 .../lucene/index/unsupported.5.5.0-nocfs.zip    | Bin 0 -> 13756 bytes
 .../java/org/apache/lucene/util/Version.java    |  70 -------------------
 45 files changed, 70 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-cfs.zip
deleted file mode 100644
index a95f59b..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-cfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-nocfs.zip
deleted file mode 100644
index 896e0c0..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0-nocfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-cfs.zip
deleted file mode 100644
index 68cb26b..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-cfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-nocfs.zip
deleted file mode 100644
index ef9d68d..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.0.0.singlesegment-nocfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.1.0-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.1.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.1.0-cfs.zip
deleted file mode 100644
index 569b353..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.1.0-cfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.1.0-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.1.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.1.0-nocfs.zip
deleted file mode 100644
index 21422e3..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.1.0-nocfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.0-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.0-cfs.zip
deleted file mode 100644
index ac33e06..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.0-cfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.0-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.0-nocfs.zip
deleted file mode 100644
index 58d06e4..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.0-nocfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.1-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.1-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.1-cfs.zip
deleted file mode 100644
index 9f3b78d..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.1-cfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.1-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.1-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.1-nocfs.zip
deleted file mode 100644
index d3701e7..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.2.1-nocfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.0-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.0-cfs.zip
deleted file mode 100644
index b79045d..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.0-cfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.0-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.0-nocfs.zip
deleted file mode 100644
index ef2871f..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.0-nocfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.1-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.1-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.1-cfs.zip
deleted file mode 100644
index 4a7c54a..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.1-cfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.1-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.1-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.1-nocfs.zip
deleted file mode 100644
index f7a15a9..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.1-nocfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.2-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.2-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.2-cfs.zip
deleted file mode 100644
index 5af9217..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.2-cfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.2-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.2-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.2-nocfs.zip
deleted file mode 100644
index 3933e48..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.3.2-nocfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.0-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.0-cfs.zip
deleted file mode 100644
index 92a2c90..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.0-cfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.0-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.0-nocfs.zip
deleted file mode 100644
index 073b0aa..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.0-nocfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.1-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.1-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.1-cfs.zip
deleted file mode 100644
index 5016151..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.1-cfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.1-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.1-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.1-nocfs.zip
deleted file mode 100644
index 0ca1613..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.4.1-nocfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.5.0-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.5.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.5.0-cfs.zip
deleted file mode 100644
index 2e27d2e..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.5.0-cfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.5.0-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.5.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.5.0-nocfs.zip
deleted file mode 100644
index 44c3af2..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/index.5.5.0-nocfs.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0-cfs.zip
new file mode 100644
index 0000000..a95f59b
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0-cfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0-nocfs.zip
new file mode 100644
index 0000000..896e0c0
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0-nocfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0.singlesegment-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0.singlesegment-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0.singlesegment-cfs.zip
new file mode 100644
index 0000000..68cb26b
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0.singlesegment-cfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0.singlesegment-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0.singlesegment-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0.singlesegment-nocfs.zip
new file mode 100644
index 0000000..ef9d68d
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.0.0.singlesegment-nocfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.1.0-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.1.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.1.0-cfs.zip
new file mode 100644
index 0000000..569b353
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.1.0-cfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.1.0-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.1.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.1.0-nocfs.zip
new file mode 100644
index 0000000..21422e3
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.1.0-nocfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.0-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.0-cfs.zip
new file mode 100644
index 0000000..ac33e06
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.0-cfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.0-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.0-nocfs.zip
new file mode 100644
index 0000000..58d06e4
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.0-nocfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.1-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.1-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.1-cfs.zip
new file mode 100644
index 0000000..9f3b78d
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.1-cfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.1-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.1-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.1-nocfs.zip
new file mode 100644
index 0000000..d3701e7
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.2.1-nocfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.0-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.0-cfs.zip
new file mode 100644
index 0000000..b79045d
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.0-cfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.0-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.0-nocfs.zip
new file mode 100644
index 0000000..ef2871f
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.0-nocfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.1-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.1-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.1-cfs.zip
new file mode 100644
index 0000000..4a7c54a
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.1-cfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.1-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.1-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.1-nocfs.zip
new file mode 100644
index 0000000..f7a15a9
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.1-nocfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.2-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.2-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.2-cfs.zip
new file mode 100644
index 0000000..5af9217
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.2-cfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.2-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.2-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.2-nocfs.zip
new file mode 100644
index 0000000..3933e48
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.3.2-nocfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.0-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.0-cfs.zip
new file mode 100644
index 0000000..92a2c90
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.0-cfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.0-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.0-nocfs.zip
new file mode 100644
index 0000000..073b0aa
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.0-nocfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.1-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.1-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.1-cfs.zip
new file mode 100644
index 0000000..5016151
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.1-cfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.1-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.1-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.1-nocfs.zip
new file mode 100644
index 0000000..0ca1613
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.4.1-nocfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.5.0-cfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.5.0-cfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.5.0-cfs.zip
new file mode 100644
index 0000000..2e27d2e
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.5.0-cfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.5.0-nocfs.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.5.0-nocfs.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.5.0-nocfs.zip
new file mode 100644
index 0000000..44c3af2
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/unsupported.5.5.0-nocfs.zip differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/ddbeb2a6/lucene/core/src/java/org/apache/lucene/util/Version.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/util/Version.java b/lucene/core/src/java/org/apache/lucene/util/Version.java
index 39583f4..48662e9 100644
--- a/lucene/core/src/java/org/apache/lucene/util/Version.java
+++ b/lucene/core/src/java/org/apache/lucene/util/Version.java
@@ -32,76 +32,6 @@ import java.util.Locale;
  */
 public final class Version {
 
-  /**
-   * Match settings and bugs in Lucene's 5.0 release.
-   * @deprecated (5.0) Use latest
-   */
-  @Deprecated
-  public static final Version LUCENE_5_0_0 = new Version(5, 0, 0);
-
-  /**
-   * Match settings and bugs in Lucene's 5.1.0 release.
-   * @deprecated Use latest
-   */
-  @Deprecated
-  public static final Version LUCENE_5_1_0 = new Version(5, 1, 0);
-
-  /**
-   * Match settings and bugs in Lucene's 5.2.0 release.
-   * @deprecated Use latest
-   */
-  @Deprecated
-  public static final Version LUCENE_5_2_0 = new Version(5, 2, 0);
-
-  /**
-   * Match settings and bugs in Lucene's 5.2.1 release.
-   * @deprecated Use latest
-   */
-  @Deprecated
-  public static final Version LUCENE_5_2_1 = new Version(5, 2, 1);
-
-  /**
-   * Match settings and bugs in Lucene's 5.3.0 release.
-   * @deprecated Use latest
-   */
-  @Deprecated
-  public static final Version LUCENE_5_3_0 = new Version(5, 3, 0);
-
-  /**
-   * Match settings and bugs in Lucene's 5.3.1 release.
-   * @deprecated Use latest
-   */
-  @Deprecated
-  public static final Version LUCENE_5_3_1 = new Version(5, 3, 1);
-
-  /**
-   * Match settings and bugs in Lucene's 5.3.2 release.
-   * @deprecated Use latest
-   */
-  @Deprecated
-  public static final Version LUCENE_5_3_2 = new Version(5, 3, 2);
-
-  /**
-   * Match settings and bugs in Lucene's 5.4.0 release.
-   * @deprecated Use latest
-   */
-  @Deprecated
-  public static final Version LUCENE_5_4_0 = new Version(5, 4, 0);
-
-  /**
-   * Match settings and bugs in Lucene's 5.4.1 release.
-   * @deprecated Use latest
-   */
-  @Deprecated
-  public static final Version LUCENE_5_4_1 = new Version(5, 4, 1);
-
-  /**
-   * Match settings and bugs in Lucene's 5.5.0 release.
-   * @deprecated Use latest
-   */
-  @Deprecated
-  public static final Version LUCENE_5_5_0 = new Version(5, 5, 0);
-
   /** Match settings and bugs in Lucene's 6.0 release.
    *  <p>
    *  Use this to get the latest &amp; greatest settings, bug


[5/7] lucene-solr git commit: upgrade dvupdates index to 6.0.0

Posted by mi...@apache.org.
upgrade dvupdates index to 6.0.0


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/5454e103
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/5454e103
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/5454e103

Branch: refs/heads/master
Commit: 5454e1030ef1c9b3ffd6130a5a996d950ffc5935
Parents: 73f1122
Author: Mike McCandless <mi...@apache.org>
Authored: Wed Mar 2 06:25:25 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Wed Mar 2 06:25:25 2016 -0500

----------------------------------------------------------------------
 .../lucene/index/TestBackwardsCompatibility.java   |   2 +-
 .../org/apache/lucene/index/dvupdates.5.0.0.zip    | Bin 13376 -> 0 bytes
 .../org/apache/lucene/index/dvupdates.6.0.0.zip    | Bin 0 -> 3420 bytes
 3 files changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/5454e103/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
----------------------------------------------------------------------
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.java
index fa422df..f9f1fa2 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
@@ -1318,7 +1318,7 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
     dir.close();
   }
 
-  public static final String dvUpdatesIndex = "dvupdates.5.0.0.zip";
+  public static final String dvUpdatesIndex = "dvupdates.6.0.0.zip";
 
   private void assertNumericDocValues(LeafReader r, String f, String cf) throws IOException {
     NumericDocValues ndvf = r.getNumericDocValues(f);

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/5454e103/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.5.0.0.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.5.0.0.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.5.0.0.zip
deleted file mode 100644
index 1101c2a..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.5.0.0.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/5454e103/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.6.0.0.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.6.0.0.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.6.0.0.zip
new file mode 100644
index 0000000..38ac8e1
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/dvupdates.6.0.0.zip differ


[6/7] lucene-solr git commit: add todos, fix whitespace

Posted by mi...@apache.org.
add todos, fix whitespace


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/c62ad7bb
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/c62ad7bb
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/c62ad7bb

Branch: refs/heads/master
Commit: c62ad7bba0418b5c2ddce92ba72d6619f556377b
Parents: 5454e10
Author: Mike McCandless <mi...@apache.org>
Authored: Wed Mar 2 06:30:43 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Wed Mar 2 06:30:43 2016 -0500

----------------------------------------------------------------------
 .../org/apache/lucene/index/TestBackwardsCompatibility.java     | 5 ++++-
 lucene/core/src/java/org/apache/lucene/index/IndexUpgrader.java | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c62ad7bb/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
----------------------------------------------------------------------
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.java
index f9f1fa2..3ff4651 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
@@ -215,6 +215,7 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
     dir.close();
   }
 
+  // TODO: on 6.0.0 release, gen the indices and add here:
   final static String[] oldNames = {
   };
   
@@ -342,7 +343,8 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
       "5.5.0-cfs",
       "5.5.0-nocfs"
   };
-  
+
+  // TODO: on 6.0.0 release, gen the single segment indices and add here:
   final static String[] oldSingleSegmentNames = {
   };
   
@@ -951,6 +953,7 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
     // add numeric fields, to test if flex preserves encoding
     doc.add(new LegacyIntField("trieInt", id, Field.Store.NO));
     doc.add(new LegacyLongField("trieLong", (long) id, Field.Store.NO));
+
     // add docvalues fields
     doc.add(new NumericDocValuesField("dvByte", (byte) id));
     byte bytes[] = new byte[] {

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c62ad7bb/lucene/core/src/java/org/apache/lucene/index/IndexUpgrader.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/index/IndexUpgrader.java b/lucene/core/src/java/org/apache/lucene/index/IndexUpgrader.java
index 02690c4..874d586 100644
--- a/lucene/core/src/java/org/apache/lucene/index/IndexUpgrader.java
+++ b/lucene/core/src/java/org/apache/lucene/index/IndexUpgrader.java
@@ -100,7 +100,7 @@ public final class IndexUpgrader {
         dirImpl = args[i];
       } else if (path == null) {
         path = arg;
-      }else {
+      } else {
         printUsage();
       }
       i++;


[7/7] lucene-solr git commit: remove or cutover all uses of now unsupported versions

Posted by mi...@apache.org.
remove or cutover all uses of now unsupported versions


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/09aa951a
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/09aa951a
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/09aa951a

Branch: refs/heads/master
Commit: 09aa951ad0cb48ee9d2ea220e8e23005aac71b10
Parents: c62ad7b
Author: Mike McCandless <mi...@apache.org>
Authored: Wed Mar 2 09:05:41 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Wed Mar 2 09:05:41 2016 -0500

----------------------------------------------------------------------
 .../lucene/analysis/ar/ArabicAnalyzer.java      |   4 +-
 .../lucene/analysis/ckb/SoraniAnalyzer.java     |   4 +-
 .../lucene/analysis/fa/PersianAnalyzer.java     |   4 +-
 .../lucene/analysis/hi/HindiAnalyzer.java       |   4 +-
 .../apache/lucene/analysis/th/ThaiAnalyzer.java |   5 +-
 .../lucene/analysis/ar/TestArabicAnalyzer.java  |  12 ---
 .../lucene/analysis/ckb/TestSoraniAnalyzer.java |  12 ---
 .../analysis/custom/TestCustomAnalyzer.java     |   8 +-
 .../lucene/analysis/fa/TestPersianAnalyzer.java |  12 ---
 .../lucene/analysis/hi/TestHindiAnalyzer.java   |  12 ---
 .../lucene/analysis/th/TestThaiAnalyzer.java    |  12 ---
 .../lucene/index/TestMaxPositionInOldIndex.java | 107 -------------------
 .../apache/lucene/index/TestSegmentInfos.java   |  10 +-
 .../org/apache/lucene/util/TestVersion.java     |  18 ++--
 .../solr/handler/component/SearchHandler.java   |  13 +--
 .../similarities/TestPerFieldSimilarity.java    |   1 -
 .../TestPerFieldSimilarityClassic.java          |  86 ---------------
 17 files changed, 28 insertions(+), 296 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicAnalyzer.java
----------------------------------------------------------------------
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicAnalyzer.java
index 3d36c86..ae827e0 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicAnalyzer.java
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ar/ArabicAnalyzer.java
@@ -134,9 +134,7 @@ public final class ArabicAnalyzer extends StopwordAnalyzerBase {
   protected TokenStreamComponents createComponents(String fieldName) {
     final Tokenizer source = new StandardTokenizer();
     TokenStream result = new LowerCaseFilter(source);
-    if (getVersion().onOrAfter(Version.LUCENE_5_4_0)) {
-      result = new DecimalDigitFilter(result);
-    }
+    result = new DecimalDigitFilter(result);
     // the order here is important: the stopword list is not normalized!
     result = new StopFilter(result, stopwords);
     // TODO maybe we should make ArabicNormalization filter also KeywordAttribute aware?!

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/SoraniAnalyzer.java
----------------------------------------------------------------------
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/SoraniAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/SoraniAnalyzer.java
index 78304c7..ef29c2f 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/SoraniAnalyzer.java
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/ckb/SoraniAnalyzer.java
@@ -120,9 +120,7 @@ public final class SoraniAnalyzer extends StopwordAnalyzerBase {
     TokenStream result = new StandardFilter(source);
     result = new SoraniNormalizationFilter(result);
     result = new LowerCaseFilter(result);
-    if (getVersion().onOrAfter(Version.LUCENE_5_4_0)) {
-      result = new DecimalDigitFilter(result);
-    }
+    result = new DecimalDigitFilter(result);
     result = new StopFilter(result, stopwords);
     if(!stemExclusionSet.isEmpty())
       result = new SetKeywordMarkerFilter(result, stemExclusionSet);

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianAnalyzer.java
----------------------------------------------------------------------
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianAnalyzer.java
index 256c78b..36a9d5f 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianAnalyzer.java
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/fa/PersianAnalyzer.java
@@ -116,9 +116,7 @@ public final class PersianAnalyzer extends StopwordAnalyzerBase {
   protected TokenStreamComponents createComponents(String fieldName) {
     final Tokenizer source = new StandardTokenizer();
     TokenStream result = new LowerCaseFilter(source);
-    if (getVersion().onOrAfter(Version.LUCENE_5_4_0)) {
-      result = new DecimalDigitFilter(result);
-    }
+    result = new DecimalDigitFilter(result);
     result = new ArabicNormalizationFilter(result);
     /* additional persian-specific normalization */
     result = new PersianNormalizationFilter(result);

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hi/HindiAnalyzer.java
----------------------------------------------------------------------
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hi/HindiAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/hi/HindiAnalyzer.java
index 22e930b..4947ed9 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hi/HindiAnalyzer.java
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/hi/HindiAnalyzer.java
@@ -117,9 +117,7 @@ public final class HindiAnalyzer extends StopwordAnalyzerBase {
   protected TokenStreamComponents createComponents(String fieldName) {
     final Tokenizer source = new StandardTokenizer();
     TokenStream result = new LowerCaseFilter(source);
-    if (getVersion().onOrAfter(Version.LUCENE_5_4_0)) {
-      result = new DecimalDigitFilter(result);
-    }
+    result = new DecimalDigitFilter(result);
     if (!stemExclusionSet.isEmpty())
       result = new SetKeywordMarkerFilter(result, stemExclusionSet);
     result = new IndicNormalizationFilter(result);

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiAnalyzer.java
----------------------------------------------------------------------
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiAnalyzer.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiAnalyzer.java
index 3f2e52a..ba4010a 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiAnalyzer.java
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/th/ThaiAnalyzer.java
@@ -98,9 +98,8 @@ public final class ThaiAnalyzer extends StopwordAnalyzerBase {
   protected TokenStreamComponents createComponents(String fieldName) {
     final Tokenizer source = new ThaiTokenizer();
     TokenStream result = new LowerCaseFilter(source);
-    if (getVersion().onOrAfter(Version.LUCENE_5_4_0)) {
-      result = new DecimalDigitFilter(result);
-    }
+    result = new DecimalDigitFilter(result);
+
     result = new StopFilter(result, stopwords);
     return new TokenStreamComponents(source, result);
   }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/analysis/common/src/test/org/apache/lucene/analysis/ar/TestArabicAnalyzer.java
----------------------------------------------------------------------
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/ar/TestArabicAnalyzer.java b/lucene/analysis/common/src/test/org/apache/lucene/analysis/ar/TestArabicAnalyzer.java
index 9842687..579943a 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/ar/TestArabicAnalyzer.java
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/ar/TestArabicAnalyzer.java
@@ -110,18 +110,6 @@ public class TestArabicAnalyzer extends BaseTokenStreamTestCase {
     a.close();
   }
   
-  /**
-   * test that we don't fold digits for back compat behavior
-   * @deprecated remove this test in lucene 7
-   */
-  @Deprecated
-  public void testDigitsBackCompat() throws Exception {
-    ArabicAnalyzer a = new ArabicAnalyzer();
-    a.setVersion(Version.LUCENE_5_3_0);
-    checkOneTerm(a, "١٢٣٤", "١٢٣٤");
-    a.close();
-  }
-  
   /** blast some random strings through the analyzer */
   public void testRandomStrings() throws Exception {
     ArabicAnalyzer a = new ArabicAnalyzer();

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/analysis/common/src/test/org/apache/lucene/analysis/ckb/TestSoraniAnalyzer.java
----------------------------------------------------------------------
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/ckb/TestSoraniAnalyzer.java b/lucene/analysis/common/src/test/org/apache/lucene/analysis/ckb/TestSoraniAnalyzer.java
index d08817c..6231f3d 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/ckb/TestSoraniAnalyzer.java
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/ckb/TestSoraniAnalyzer.java
@@ -74,18 +74,6 @@ public class TestSoraniAnalyzer extends BaseTokenStreamTestCase {
     a.close();
   }
   
-  /**
-   * test that we don't fold digits for back compat behavior
-   * @deprecated remove this test in lucene 7
-   */
-  @Deprecated
-  public void testDigitsBackCompat() throws Exception {
-    SoraniAnalyzer a = new SoraniAnalyzer();
-    a.setVersion(Version.LUCENE_5_3_0);
-    checkOneTerm(a, "١٢٣٤", "١٢٣٤");
-    a.close();
-  }
-  
   /** blast some random strings through the analyzer */
   public void testRandomStrings() throws Exception {
     Analyzer a = new SoraniAnalyzer();

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/analysis/common/src/test/org/apache/lucene/analysis/custom/TestCustomAnalyzer.java
----------------------------------------------------------------------
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/custom/TestCustomAnalyzer.java b/lucene/analysis/common/src/test/org/apache/lucene/analysis/custom/TestCustomAnalyzer.java
index af11927..5160dab 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/custom/TestCustomAnalyzer.java
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/custom/TestCustomAnalyzer.java
@@ -95,7 +95,7 @@ public class TestCustomAnalyzer extends BaseTokenStreamTestCase {
 
   public void testFactoryHtmlStripClassicFolding() throws Exception {
     CustomAnalyzer a = CustomAnalyzer.builder()
-        .withDefaultMatchVersion(Version.LUCENE_5_0_0)
+        .withDefaultMatchVersion(Version.LUCENE_6_0_0)
         .addCharFilter(HTMLStripCharFilterFactory.class)
         .withTokenizer(ClassicTokenizerFactory.class)
         .addTokenFilter(ASCIIFoldingFilterFactory.class, "preserveOriginal", "true")
@@ -114,7 +114,7 @@ public class TestCustomAnalyzer extends BaseTokenStreamTestCase {
     assertSame(LowerCaseFilterFactory.class, tokenFilters.get(1).getClass());
     assertEquals(100, a.getPositionIncrementGap("dummy"));
     assertEquals(1000, a.getOffsetGap("dummy"));
-    assertSame(Version.LUCENE_5_0_0, a.getVersion());
+    assertSame(Version.LUCENE_6_0_0, a.getVersion());
 
     assertAnalyzesTo(a, "<p>foo bar</p> FOO BAR", 
         new String[] { "foo", "bar", "foo", "bar" },
@@ -127,7 +127,7 @@ public class TestCustomAnalyzer extends BaseTokenStreamTestCase {
   
   public void testHtmlStripClassicFolding() throws Exception {
     CustomAnalyzer a = CustomAnalyzer.builder()
-        .withDefaultMatchVersion(Version.LUCENE_5_0_0)
+        .withDefaultMatchVersion(Version.LUCENE_6_0_0)
         .addCharFilter("htmlstrip")
         .withTokenizer("classic")
         .addTokenFilter("asciifolding", "preserveOriginal", "true")
@@ -146,7 +146,7 @@ public class TestCustomAnalyzer extends BaseTokenStreamTestCase {
     assertSame(LowerCaseFilterFactory.class, tokenFilters.get(1).getClass());
     assertEquals(100, a.getPositionIncrementGap("dummy"));
     assertEquals(1000, a.getOffsetGap("dummy"));
-    assertSame(Version.LUCENE_5_0_0, a.getVersion());
+    assertSame(Version.LUCENE_6_0_0, a.getVersion());
 
     assertAnalyzesTo(a, "<p>foo bar</p> FOO BAR", 
         new String[] { "foo", "bar", "foo", "bar" },

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/analysis/common/src/test/org/apache/lucene/analysis/fa/TestPersianAnalyzer.java
----------------------------------------------------------------------
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/fa/TestPersianAnalyzer.java b/lucene/analysis/common/src/test/org/apache/lucene/analysis/fa/TestPersianAnalyzer.java
index 67982a2..70f0a4f 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/fa/TestPersianAnalyzer.java
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/fa/TestPersianAnalyzer.java
@@ -238,18 +238,6 @@ public class TestPersianAnalyzer extends BaseTokenStreamTestCase {
     a.close();
   }
   
-  /**
-   * test that we don't fold digits for back compat behavior
-   * @deprecated remove this test in lucene 7
-   */
-  @Deprecated
-  public void testDigitsBackCompat() throws Exception {
-    PersianAnalyzer a = new PersianAnalyzer();
-    a.setVersion(Version.LUCENE_5_3_0);
-    checkOneTerm(a, "۱۲۳۴", "۱۲۳۴");
-    a.close();
-  }
-  
   /** blast some random strings through the analyzer */
   public void testRandomStrings() throws Exception {
     PersianAnalyzer a = new PersianAnalyzer();

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hi/TestHindiAnalyzer.java
----------------------------------------------------------------------
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hi/TestHindiAnalyzer.java b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hi/TestHindiAnalyzer.java
index 63321d5..6fa1d7c 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/hi/TestHindiAnalyzer.java
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/hi/TestHindiAnalyzer.java
@@ -57,18 +57,6 @@ public class TestHindiAnalyzer extends BaseTokenStreamTestCase {
     a.close();
   }
   
-  /**
-   * test that we don't fold digits for back compat behavior
-   * @deprecated remove this test in lucene 7
-   */
-  @Deprecated
-  public void testDigitsBackCompat() throws Exception {
-    HindiAnalyzer a = new HindiAnalyzer();
-    a.setVersion(Version.LUCENE_5_3_0);
-    checkOneTerm(a, "१२३४", "१२३४");
-    a.close();
-  }
-  
   /** blast some random strings through the analyzer */
   public void testRandomStrings() throws Exception {
     Analyzer analyzer = new HindiAnalyzer();

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/analysis/common/src/test/org/apache/lucene/analysis/th/TestThaiAnalyzer.java
----------------------------------------------------------------------
diff --git a/lucene/analysis/common/src/test/org/apache/lucene/analysis/th/TestThaiAnalyzer.java b/lucene/analysis/common/src/test/org/apache/lucene/analysis/th/TestThaiAnalyzer.java
index c4b9276..ceaedf8 100644
--- a/lucene/analysis/common/src/test/org/apache/lucene/analysis/th/TestThaiAnalyzer.java
+++ b/lucene/analysis/common/src/test/org/apache/lucene/analysis/th/TestThaiAnalyzer.java
@@ -132,18 +132,6 @@ public class TestThaiAnalyzer extends BaseTokenStreamTestCase {
     a.close();
   }
   
-  /**
-   * test that we don't fold digits for back compat behavior
-   * @deprecated remove this test in lucene 7
-   */
-  @Deprecated
-  public void testDigitsBackCompat() throws Exception {
-    ThaiAnalyzer a = new ThaiAnalyzer();
-    a.setVersion(Version.LUCENE_5_3_0);
-    checkOneTerm(a, "๑๒๓๔", "๑๒๓๔");
-    a.close();
-  }
-  
   public void testTwoSentences() throws Exception {
     Analyzer analyzer = new ThaiAnalyzer(CharArraySet.EMPTY_SET);
     assertAnalyzesTo(analyzer, "This is a test. การที่ได้ต้องแสดงว่างานดี",

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestMaxPositionInOldIndex.java
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestMaxPositionInOldIndex.java b/lucene/backward-codecs/src/test/org/apache/lucene/index/TestMaxPositionInOldIndex.java
deleted file mode 100644
index 87625d2..0000000
--- a/lucene/backward-codecs/src/test/org/apache/lucene/index/TestMaxPositionInOldIndex.java
+++ /dev/null
@@ -1,107 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.lucene.index;
-
-
-import java.io.InputStream;
-import java.nio.file.Path;
-
-import org.apache.lucene.document.Document;
-import org.apache.lucene.store.BaseDirectoryWrapper;
-import org.apache.lucene.util.LuceneTestCase;
-import org.apache.lucene.util.TestUtil;
-
-// LUCENE-6382
-public class TestMaxPositionInOldIndex extends LuceneTestCase {
-
-
-  // Save this to BuildMaxPositionIndex.java and follow the compile/run instructions to regenerate the .zip:
-  /*
-import java.io.IOException;
-import java.nio.file.Paths;
-
-import org.apache.lucene.analysis.CannedTokenStream;
-import org.apache.lucene.analysis.Token;
-import org.apache.lucene.analysis.core.WhitespaceAnalyzer;
-import org.apache.lucene.document.Document;
-import org.apache.lucene.document.TextField;
-import org.apache.lucene.index.IndexWriter;
-import org.apache.lucene.index.IndexWriterConfig;
-import org.apache.lucene.store.Directory;
-import org.apache.lucene.store.FSDirectory;
-import org.apache.lucene.util.BytesRef;
-
-// Compile:
-//   javac -cp lucene/build/core/lucene-core-5.1.0-SNAPSHOT.jar:lucene/build/test-framework/lucene-test-framework-5.1.0-SNAPSHOT.jar:lucene/build/analysis/common/lucene-analyzers-common-5.1.0-SNAPSHOT.jar BuildMaxPositionIndex.java
-
-// Run:
-//   java -cp .:lucene/build/core/lucene-core-5.1.0-SNAPSHOT.jar:lucene/build/test-framework/lucene-test-framework-5.1.0-SNAPSHOT.jar:lucene/build/analysis/common/lucene-analyzers-common-5.1.0-SNAPSHOT.jar:lucene/build/codecs/lucene-codecs-5.1.0-SNAPSHOT.jar BuildMaxPositionIndex
-
-//  cd maxposindex
-//  zip maxposindex.zip *
-
-public class BuildMaxPositionIndex {
-  public static void main(String[] args) throws IOException {
-    Directory dir = FSDirectory.open(Paths.get("maxposindex"));
-    IndexWriter iw = new IndexWriter(dir, new IndexWriterConfig(new WhitespaceAnalyzer()));
-    Document doc = new Document();
-    // This is at position 1:
-    Token t1 = new Token("foo", 0, 3);
-    t1.setPositionIncrement(2);
-    Token t2 = new Token("foo", 4, 7);
-    // This overflows max position:
-    t2.setPositionIncrement(Integer.MAX_VALUE-1);
-    t2.setPayload(new BytesRef(new byte[] { 0x1 } ));
-    doc.add(new TextField("foo", new CannedTokenStream(new Token[] {t1, t2})));
-    iw.addDocument(doc);
-    iw.close();
-    dir.close();
-  }
-}
-  */
-
-  public void testCorruptIndex() throws Exception {
-    Path path = createTempDir("maxposindex");
-    InputStream resource = getClass().getResourceAsStream("maxposindex.zip");
-    assertNotNull("maxposindex not found", resource);
-    TestUtil.unzip(resource, path);
-    BaseDirectoryWrapper dir = newFSDirectory(path);
-    dir.setCheckIndexOnClose(false);
-    RuntimeException expected = expectThrows(RuntimeException.class, () -> {
-      TestUtil.checkIndex(dir, false, true);
-    });
-    assertTrue(expected.getMessage().contains("pos 2147483647 > IndexWriter.MAX_POSITION=2147483519"));
-
-    // Also confirm merging detects this:
-    IndexWriterConfig iwc = newIndexWriterConfig();
-    iwc.setMergeScheduler(new SerialMergeScheduler());
-    iwc.setMergePolicy(newLogMergePolicy());
-    IndexWriter w = new IndexWriter(dir, iwc);
-    w.addDocument(new Document());
-    CorruptIndexException expectedCorruption = expectThrows(CorruptIndexException.class, () -> {
-      w.forceMerge(1);
-    });
-    assertEquals(expectedCorruption.getMessage(), new CorruptIndexException(expectedCorruption.getOriginalMessage(), expectedCorruption.getResourceDescription()).getMessage());
-    // SerialMergeScheduler
-    assertTrue("got message " + expectedCorruption.getMessage(),
-        expectedCorruption.getMessage().contains("position=2147483647 is too large (> IndexWriter.MAX_POSITION=2147483519), field=\"foo\" doc=0 (resource=PerFieldPostings(segment=_0 formats=1)"));
-
-    w.close();
-    dir.close();
-  }
-}
-

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/core/src/test/org/apache/lucene/index/TestSegmentInfos.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/test/org/apache/lucene/index/TestSegmentInfos.java b/lucene/core/src/test/org/apache/lucene/index/TestSegmentInfos.java
index 733f75e..58ceb44 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestSegmentInfos.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestSegmentInfos.java
@@ -50,7 +50,7 @@ public class TestSegmentInfos extends LuceneTestCase {
     Codec codec = Codec.getDefault();
 
     SegmentInfos sis = new SegmentInfos();
-    SegmentInfo info = new SegmentInfo(dir, Version.LUCENE_5_0_0, "_0", 1, false, Codec.getDefault(), 
+    SegmentInfo info = new SegmentInfo(dir, Version.LUCENE_6_0_0, "_0", 1, false, Codec.getDefault(), 
                                        Collections.<String,String>emptyMap(), id, Collections.<String,String>emptyMap());
     info.setFiles(Collections.<String>emptySet());
     codec.segmentInfoFormat().write(dir, info, IOContext.DEFAULT);
@@ -59,7 +59,7 @@ public class TestSegmentInfos extends LuceneTestCase {
     sis.add(commitInfo);
     sis.commit(dir);
     sis = SegmentInfos.readLatestCommit(dir);
-    assertEquals(Version.LUCENE_5_0_0, sis.getMinSegmentLuceneVersion());
+    assertEquals(Version.LUCENE_6_0_0, sis.getMinSegmentLuceneVersion());
     assertEquals(Version.LATEST, sis.getCommitLuceneVersion());
     dir.close();
   }
@@ -72,14 +72,14 @@ public class TestSegmentInfos extends LuceneTestCase {
     Codec codec = Codec.getDefault();
 
     SegmentInfos sis = new SegmentInfos();
-    SegmentInfo info = new SegmentInfo(dir, Version.LUCENE_5_0_0, "_0", 1, false, Codec.getDefault(), 
+    SegmentInfo info = new SegmentInfo(dir, Version.LUCENE_6_0_0, "_0", 1, false, Codec.getDefault(), 
                                        Collections.<String,String>emptyMap(), id, Collections.<String,String>emptyMap());
     info.setFiles(Collections.<String>emptySet());
     codec.segmentInfoFormat().write(dir, info, IOContext.DEFAULT);
     SegmentCommitInfo commitInfo = new SegmentCommitInfo(info, 0, -1, -1, -1);
     sis.add(commitInfo);
 
-    info = new SegmentInfo(dir, Version.LUCENE_5_1_0, "_1", 1, false, Codec.getDefault(), 
+    info = new SegmentInfo(dir, Version.LUCENE_6_0_0, "_1", 1, false, Codec.getDefault(), 
                                        Collections.<String,String>emptyMap(), id, Collections.<String,String>emptyMap());
     info.setFiles(Collections.<String>emptySet());
     codec.segmentInfoFormat().write(dir, info, IOContext.DEFAULT);
@@ -88,7 +88,7 @@ public class TestSegmentInfos extends LuceneTestCase {
 
     sis.commit(dir);
     sis = SegmentInfos.readLatestCommit(dir);
-    assertEquals(Version.LUCENE_5_0_0, sis.getMinSegmentLuceneVersion());
+    assertEquals(Version.LUCENE_6_0_0, sis.getMinSegmentLuceneVersion());
     assertEquals(Version.LATEST, sis.getCommitLuceneVersion());
     dir.close();
   }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/lucene/core/src/test/org/apache/lucene/util/TestVersion.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/test/org/apache/lucene/util/TestVersion.java b/lucene/core/src/test/org/apache/lucene/util/TestVersion.java
index 9feadd2..673aaae 100644
--- a/lucene/core/src/test/org/apache/lucene/util/TestVersion.java
+++ b/lucene/core/src/test/org/apache/lucene/util/TestVersion.java
@@ -32,25 +32,25 @@ public class TestVersion extends LuceneTestCase {
         assertTrue("LATEST must be always onOrAfter("+v+")", Version.LATEST.onOrAfter(v));
       }
     }
-    assertTrue(Version.LUCENE_6_0_0.onOrAfter(Version.LUCENE_5_0_0));;
+    assertTrue(Version.LUCENE_7_0_0.onOrAfter(Version.LUCENE_6_0_0));;
   }
 
   public void testToString() {
-    assertEquals("5.0.0", Version.LUCENE_5_0_0.toString());
     assertEquals("6.0.0", Version.LUCENE_6_0_0.toString());
+    assertEquals("7.0.0", Version.LUCENE_7_0_0.toString());
   }
 
   public void testParseLeniently() throws Exception {
-    assertEquals(Version.LUCENE_5_0_0, Version.parseLeniently("5.0"));
-    assertEquals(Version.LUCENE_5_0_0, Version.parseLeniently("5.0.0"));
-    assertEquals(Version.LUCENE_5_0_0, Version.parseLeniently("LUCENE_50"));
-    assertEquals(Version.LUCENE_5_0_0, Version.parseLeniently("LUCENE_5_0"));
-    assertEquals(Version.LUCENE_5_0_0, Version.parseLeniently("LUCENE_5_0_0"));
     assertEquals(Version.LUCENE_6_0_0, Version.parseLeniently("6.0"));
     assertEquals(Version.LUCENE_6_0_0, Version.parseLeniently("6.0.0"));
     assertEquals(Version.LUCENE_6_0_0, Version.parseLeniently("LUCENE_60"));
     assertEquals(Version.LUCENE_6_0_0, Version.parseLeniently("LUCENE_6_0"));
     assertEquals(Version.LUCENE_6_0_0, Version.parseLeniently("LUCENE_6_0_0"));
+    assertEquals(Version.LUCENE_7_0_0, Version.parseLeniently("7.0"));
+    assertEquals(Version.LUCENE_7_0_0, Version.parseLeniently("7.0.0"));
+    assertEquals(Version.LUCENE_7_0_0, Version.parseLeniently("LUCENE_70"));
+    assertEquals(Version.LUCENE_7_0_0, Version.parseLeniently("LUCENE_7_0"));
+    assertEquals(Version.LUCENE_7_0_0, Version.parseLeniently("LUCENE_7_0_0"));
     assertEquals(Version.LATEST, Version.parseLeniently("LATEST"));
     assertEquals(Version.LATEST, Version.parseLeniently("latest"));
     assertEquals(Version.LATEST, Version.parseLeniently("LUCENE_CURRENT"));
@@ -95,7 +95,7 @@ public class TestVersion extends LuceneTestCase {
 
   public void testParse() throws Exception {
     assertEquals(Version.LUCENE_6_0_0, Version.parse("6.0.0"));
-    assertEquals(Version.LUCENE_5_0_0, Version.parse("5.0.0"));
+    assertEquals(Version.LUCENE_7_0_0, Version.parse("7.0.0"));
     
     // Version does not pass judgement on the major version:
     assertEquals(1, Version.parse("1.0").major);
@@ -103,7 +103,7 @@ public class TestVersion extends LuceneTestCase {
   }
 
   public void testForwardsCompatibility() throws Exception {
-    assertTrue(Version.parse("5.10.20").onOrAfter(Version.LUCENE_5_0_0));
+    assertTrue(Version.parse("6.10.20").onOrAfter(Version.LUCENE_6_0_0));
   }
 
   public void testParseExceptions() {

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java b/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java
index 3518ecb..d882033 100644
--- a/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java
+++ b/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java
@@ -371,15 +371,10 @@ public class SearchHandler extends RequestHandlerBase implements SolrCoreAware ,
                 // for distributed queries that don't include shards.qt, use the original path
                 // as the default but operators need to update their luceneMatchVersion to enable
                 // this behavior since it did not work this way prior to 5.1
-                if (req.getCore().getSolrConfig().luceneMatchVersion.onOrAfter(Version.LUCENE_5_1_0)) {
-                  String reqPath = (String) req.getContext().get(PATH);
-                  if (!"/select".equals(reqPath)) {
-                    params.set(CommonParams.QT, reqPath);
-                  } // else if path is /select, then the qt gets passed thru if set
-                } else {
-                  // this is the pre-5.1 behavior, which translates to sending the shard request to /select
-                  params.remove(CommonParams.QT);
-                }
+                String reqPath = (String) req.getContext().get(PATH);
+                if (!"/select".equals(reqPath)) {
+                  params.set(CommonParams.QT, reqPath);
+                } // else if path is /select, then the qt gets passed thru if set
               }
               shardHandler1.submit(sreq, shard, params, rb.preferredHostAddress);
             }

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/solr/core/src/test/org/apache/solr/search/similarities/TestPerFieldSimilarity.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/search/similarities/TestPerFieldSimilarity.java b/solr/core/src/test/org/apache/solr/search/similarities/TestPerFieldSimilarity.java
index 8fe16e0..58fe6ef 100644
--- a/solr/core/src/test/org/apache/solr/search/similarities/TestPerFieldSimilarity.java
+++ b/solr/core/src/test/org/apache/solr/search/similarities/TestPerFieldSimilarity.java
@@ -23,7 +23,6 @@ import org.junit.BeforeClass;
 
 /**
  * Tests per-field similarity support in the schema
- * @see TestPerFieldSimilarityClassic
  */
 public class TestPerFieldSimilarity extends BaseSimilarityTestCase {
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/09aa951a/solr/core/src/test/org/apache/solr/search/similarities/TestPerFieldSimilarityClassic.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/search/similarities/TestPerFieldSimilarityClassic.java b/solr/core/src/test/org/apache/solr/search/similarities/TestPerFieldSimilarityClassic.java
deleted file mode 100644
index 5025520..0000000
--- a/solr/core/src/test/org/apache/solr/search/similarities/TestPerFieldSimilarityClassic.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.solr.search.similarities;
-
-import org.apache.lucene.misc.SweetSpotSimilarity;
-import org.apache.lucene.search.similarities.ClassicSimilarity;
-import org.apache.lucene.search.similarities.Similarity;
-import org.apache.lucene.util.Version;
-import org.junit.AfterClass;
-import org.junit.BeforeClass;
-
-/**
- * Tests per-field similarity support in the schema when luceneMatchVersion indicates 
- * {@link ClassicSimilarity} should be the default.
- * @see TestPerFieldSimilarity
- */
-public class TestPerFieldSimilarityClassic extends BaseSimilarityTestCase {
-
-  @BeforeClass
-  public static void beforeClass() throws Exception {
-    // any value below 6.0 should have this behavior
-    System.setProperty("tests.luceneMatchVersion", Version.LUCENE_5_3_1.toString());
-    initCore("solrconfig-basic.xml","schema-sim.xml");
-  }
-  
-  @AfterClass
-  public static void afterClass() throws Exception {
-    System.clearProperty("tests.luceneMatchVersion");
-  }
-
-  /** test a field where the sim is specified directly */
-  public void testDirect() throws Exception {
-    assertEquals(SweetSpotSimilarity.class, getSimilarity("sim1text").getClass());
-  }
-  
-  /** ... and for a dynamic field */
-  public void testDirectDynamic() throws Exception {
-    assertEquals(SweetSpotSimilarity.class, getSimilarity("text_sim1").getClass());
-  }
-  
-  /** test a field where a configurable sim factory is defined */
-  public void testFactory() throws Exception {
-    Similarity sim = getSimilarity("sim2text");
-    assertEquals(MockConfigurableSimilarity.class, sim.getClass());
-    assertEquals("is there an echo?", ((MockConfigurableSimilarity)sim).getPassthrough());
-  }
-  
-  /** ... and for a dynamic field */
-  public void testFactoryDynamic() throws Exception {
-    Similarity sim = getSimilarity("text_sim2");
-    assertEquals(MockConfigurableSimilarity.class, sim.getClass());
-    assertEquals("is there an echo?", ((MockConfigurableSimilarity)sim).getPassthrough());
-  }
-  
-  /** test a field where no similarity is specified */
-  public void testDefaults() throws Exception {
-    Similarity sim = getSimilarity("sim3text");
-    assertEquals(ClassicSimilarity.class, sim.getClass());;
-  }
-  
-  /** ... and for a dynamic field */
-  public void testDefaultsDynamic() throws Exception {
-    Similarity sim = getSimilarity("text_sim3");
-    assertEquals(ClassicSimilarity.class, sim.getClass());
-  }
-  
-  /** test a field that does not exist */
-  public void testNonexistent() throws Exception {
-    Similarity sim = getSimilarity("sdfdsfdsfdswr5fsdfdsfdsfs");
-    assertEquals(ClassicSimilarity.class, sim.getClass());
-  }
-}


[4/7] lucene-solr git commit: ugprade moreterms index to 6.0.0

Posted by mi...@apache.org.
ugprade moreterms index to 6.0.0


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/73f11224
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/73f11224
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/73f11224

Branch: refs/heads/master
Commit: 73f112248b473d12429af01c70d0c5f6ac5f0ca2
Parents: 0fd7724
Author: Mike McCandless <mi...@apache.org>
Authored: Wed Mar 2 06:19:21 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Wed Mar 2 06:19:21 2016 -0500

----------------------------------------------------------------------
 .../lucene/index/TestBackwardsCompatibility.java  |   2 +-
 .../org/apache/lucene/index/moreterms.4.0.0.zip   | Bin 78661 -> 0 bytes
 .../org/apache/lucene/index/moreterms.5.0.0.zip   | Bin 78653 -> 0 bytes
 .../org/apache/lucene/index/moreterms.6.0.0.zip   | Bin 0 -> 157215 bytes
 4 files changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/73f11224/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
----------------------------------------------------------------------
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.java
index 91a4fec..fa422df 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
@@ -1306,7 +1306,7 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
     dir.close();
   }
 
-  public static final String moreTermsIndex = "moreterms.5.0.0.zip";
+  public static final String moreTermsIndex = "moreterms.6.0.0.zip";
 
   public void testMoreTerms() throws Exception {
     Path oldIndexDir = createTempDir("moreterms");

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/73f11224/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.4.0.0.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.4.0.0.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.4.0.0.zip
deleted file mode 100644
index 53ad7ce..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.4.0.0.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/73f11224/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.5.0.0.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.5.0.0.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.5.0.0.zip
deleted file mode 100644
index 0adfe69..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.5.0.0.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/73f11224/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.6.0.0.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.6.0.0.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.6.0.0.zip
new file mode 100644
index 0000000..77c448d
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/moreterms.6.0.0.zip differ


[3/7] lucene-solr git commit: upgrade empty index to 6.0.0; move 5.0 single segment indices to old

Posted by mi...@apache.org.
upgrade empty index to 6.0.0; move 5.0 single segment indices to old


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/0fd77248
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/0fd77248
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/0fd77248

Branch: refs/heads/master
Commit: 0fd772489608fae7a23533eca1a5ab2de1ddb1ab
Parents: 2ba4803
Author: Mike McCandless <mi...@apache.org>
Authored: Wed Mar 2 06:16:47 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Wed Mar 2 06:16:47 2016 -0500

----------------------------------------------------------------------
 .../index/TestBackwardsCompatibility.java       |  24 +++++++++++--------
 .../org/apache/lucene/index/empty.5.0.0.zip     | Bin 225 -> 0 bytes
 .../org/apache/lucene/index/empty.6.0.0.zip     | Bin 0 -> 225 bytes
 3 files changed, 14 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/0fd77248/lucene/backward-codecs/src/test/org/apache/lucene/index/TestBackwardsCompatibility.java
----------------------------------------------------------------------
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.java
index 755983b..91a4fec 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
@@ -83,7 +83,7 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
 
   // Backcompat index generation, described below, is mostly automated in: 
   //
-  //    dev-tools/scripts/addBackCompatIndexes.py
+  //    dev-tools/scripts/addBackcompatIndexes.py
   //
   // For usage information, see:
   //
@@ -319,6 +319,8 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
       "4.10.4-nocfs",
       "5x-with-4x-segments-cfs",
       "5x-with-4x-segments-nocfs",
+      "5.0.0.singlesegment-cfs",
+      "5.0.0.singlesegment-nocfs",
       "5.0.0-cfs",
       "5.0.0-nocfs",
       "5.1.0-cfs",
@@ -342,8 +344,6 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
   };
   
   final static String[] oldSingleSegmentNames = {
-    "5.0.0.singlesegment-cfs",
-    "5.0.0.singlesegment-nocfs"
   };
   
   static Map<String,Directory> oldIndexDirs;
@@ -407,10 +407,14 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
     for (java.lang.reflect.Field field : Version.class.getDeclaredFields()) {
       if (Modifier.isStatic(field.getModifiers()) && field.getType() == Version.class) {
         Version v = (Version)field.get(Version.class);
-        if (v.equals(Version.LATEST)) continue;
+        if (v.equals(Version.LATEST)) {
+          continue;
+        }
 
         Matcher constant = constantPattern.matcher(field.getName());
-        if (constant.matches() == false) continue;
+        if (constant.matches() == false) {
+          continue;
+        }
 
         expectedVersions.add(v.toString() + "-cfs");
       }
@@ -439,7 +443,9 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
     // find what versions we are testing
     List<String> testedVersions = new ArrayList<>();
     for (String testedVersion : oldNames) {
-      if (testedVersion.endsWith("-cfs") == false) continue;
+      if (testedVersion.endsWith("-cfs") == false) {
+        continue;
+      }
       testedVersions.add(testedVersion);
     }
     Collections.sort(testedVersions);
@@ -819,9 +825,7 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
 
   public void changeIndexWithAdds(Random random, Directory dir, Version nameVersion) throws IOException {
     SegmentInfos infos = SegmentInfos.readLatestCommit(dir);
-    if (nameVersion.onOrAfter(Version.LUCENE_5_3_0)) {
-      assertEquals(nameVersion, infos.getCommitLuceneVersion());
-    }
+    assertEquals(nameVersion, infos.getCommitLuceneVersion());
     assertEquals(nameVersion, infos.getMinSegmentLuceneVersion());
 
     // open writer
@@ -1288,7 +1292,7 @@ public class TestBackwardsCompatibility extends LuceneTestCase {
     }
   }
 
-  public static final String emptyIndex = "empty.5.0.0.zip";
+  public static final String emptyIndex = "empty.6.0.0.zip";
 
   public void testUpgradeEmptyOldIndex() throws Exception {
     Path oldIndexDir = createTempDir("emptyIndex");

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/0fd77248/lucene/backward-codecs/src/test/org/apache/lucene/index/empty.5.0.0.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/empty.5.0.0.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/empty.5.0.0.zip
deleted file mode 100644
index 473693e..0000000
Binary files a/lucene/backward-codecs/src/test/org/apache/lucene/index/empty.5.0.0.zip and /dev/null differ

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/0fd77248/lucene/backward-codecs/src/test/org/apache/lucene/index/empty.6.0.0.zip
----------------------------------------------------------------------
diff --git a/lucene/backward-codecs/src/test/org/apache/lucene/index/empty.6.0.0.zip b/lucene/backward-codecs/src/test/org/apache/lucene/index/empty.6.0.0.zip
new file mode 100644
index 0000000..8ca64d3
Binary files /dev/null and b/lucene/backward-codecs/src/test/org/apache/lucene/index/empty.6.0.0.zip differ


[2/7] lucene-solr git commit: SegmentInfos now throws IndexFormatTooOld if index is before 6.0.0

Posted by mi...@apache.org.
SegmentInfos now throws IndexFormatTooOld if index is before 6.0.0


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/2ba48030
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/2ba48030
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/2ba48030

Branch: refs/heads/master
Commit: 2ba48030f391efc963a9de8a13e6d2cf13e954d2
Parents: ddbeb2a
Author: Mike McCandless <mi...@apache.org>
Authored: Wed Mar 2 06:10:53 2016 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Wed Mar 2 06:10:53 2016 -0500

----------------------------------------------------------------------
 .../org/apache/lucene/index/SegmentInfos.java   | 28 +++++++-------------
 1 file changed, 9 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/2ba48030/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java b/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java
index 642b320..d8fd0c9 100644
--- a/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java
+++ b/lucene/core/src/java/org/apache/lucene/index/SegmentInfos.java
@@ -304,11 +304,12 @@ public final class SegmentInfos implements Cloneable, Iterable<SegmentCommitInfo
     infos.generation = generation;
     infos.lastGeneration = generation;
     if (format >= VERSION_53) {
-      // TODO: in the future (7.0?  sigh) we can use this to throw IndexFormatTooOldException ... or just rely on the
-      // minSegmentLuceneVersion check instead:
       infos.luceneVersion = Version.fromBits(input.readVInt(), input.readVInt(), input.readVInt());
+      if (infos.luceneVersion.onOrAfter(Version.LUCENE_6_0_0) == false) {
+        throw new IndexFormatTooOldException(input, "this index is too old (version: " + infos.luceneVersion + ")");
+      }
     } else {
-      // else compute the min version down below in the for loop
+      throw new IndexFormatTooOldException(input, "this index segments file is too old (segment infos format: " + format + ")");
     }
 
     infos.version = input.readLong();
@@ -319,18 +320,10 @@ public final class SegmentInfos implements Cloneable, Iterable<SegmentCommitInfo
       throw new CorruptIndexException("invalid segment count: " + numSegments, input);
     }
 
-    if (format >= VERSION_53) {
-      if (numSegments > 0) {
-        infos.minSegmentLuceneVersion = Version.fromBits(input.readVInt(), input.readVInt(), input.readVInt());
-        if (infos.minSegmentLuceneVersion.onOrAfter(Version.LUCENE_5_0_0) == false) {
-          throw new IndexFormatTooOldException(input, "this index contains a too-old segment (version: " + infos.minSegmentLuceneVersion + ")");
-        }
-      } else {
-        // else leave as null: no segments
-      }
+    if (numSegments > 0) {
+      infos.minSegmentLuceneVersion = Version.fromBits(input.readVInt(), input.readVInt(), input.readVInt());
     } else {
-      // else we recompute it below as we visit segments; it can't be used for throwing IndexFormatTooOldExc, but consumers of
-      // SegmentInfos can maybe still use it for other reasons
+      // else leave as null: no segments
     }
 
     long totalDocs = 0;
@@ -382,11 +375,8 @@ public final class SegmentInfos implements Cloneable, Iterable<SegmentCommitInfo
       infos.add(siPerCommit);
 
       Version segmentVersion = info.getVersion();
-      if (format < VERSION_53) {
-        if (infos.minSegmentLuceneVersion == null || segmentVersion.onOrAfter(infos.minSegmentLuceneVersion) == false) {
-          infos.minSegmentLuceneVersion = segmentVersion;
-        }
-      } else if (segmentVersion.onOrAfter(infos.minSegmentLuceneVersion) == false) {
+
+      if (segmentVersion.onOrAfter(infos.minSegmentLuceneVersion) == false) {
         throw new CorruptIndexException("segments file recorded minSegmentLuceneVersion=" + infos.minSegmentLuceneVersion + " but segment=" + info + " has older version=" + segmentVersion, input);
       }
     }