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:34 UTC
[6/7] lucene-solr git commit: add todos, fix whitespace
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++;