lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1710428 [2/2] - in /lucene/dev/branches/lucene6852: lucene/backward-codecs/src/java/org/apache/lucene/codecs/lucene50/ lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/ lucene/core/src/java/org/apache/lucene/codecs/ lucene/core/s...
Date Sun, 25 Oct 2015 11:17:56 GMT
Modified: lucene/dev/branches/lucene6852/lucene/misc/src/java/org/apache/lucene/uninverting/UninvertingReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene6852/lucene/misc/src/java/org/apache/lucene/uninverting/UninvertingReader.java?rev=1710428&r1=1710427&r2=1710428&view=diff
==============================================================================
--- lucene/dev/branches/lucene6852/lucene/misc/src/java/org/apache/lucene/uninverting/UninvertingReader.java
(original)
+++ lucene/dev/branches/lucene6852/lucene/misc/src/java/org/apache/lucene/uninverting/UninvertingReader.java
Sun Oct 25 11:17:55 2015
@@ -216,7 +216,7 @@ public class UninvertingReader extends F
         }
       }
       filteredInfos.add(new FieldInfo(fi.name, fi.number, fi.hasVectors(), fi.omitsNorms(),
-                                      fi.hasPayloads(), fi.getIndexOptions(), type, -1, Collections.emptyMap()));
+                                      fi.hasPayloads(), fi.getIndexOptions(), type, -1, Collections.emptyMap(),
0, 0));
     }
     fieldInfos = new FieldInfos(filteredInfos.toArray(new FieldInfo[filteredInfos.size()]));
   }

Modified: lucene/dev/branches/lucene6852/lucene/misc/src/test/org/apache/lucene/index/SorterTestBase.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene6852/lucene/misc/src/test/org/apache/lucene/index/SorterTestBase.java?rev=1710428&r1=1710427&r2=1710428&view=diff
==============================================================================
--- lucene/dev/branches/lucene6852/lucene/misc/src/test/org/apache/lucene/index/SorterTestBase.java
(original)
+++ lucene/dev/branches/lucene6852/lucene/misc/src/test/org/apache/lucene/index/SorterTestBase.java
Sun Oct 25 11:17:55 2015
@@ -382,5 +382,6 @@ public abstract class SorterTestBase ext
       assertEquals("incorrect term vector for doc " + i, sortedValues[i].toString(), terms.iterator().next().utf8ToString());
     }
   }
-  
+
+  // TODO: need DimensionalValues test here, once default codec supports DimensionalValues
 }

Modified: lucene/dev/branches/lucene6852/solr/core/src/java/org/apache/solr/handler/component/ExpandComponent.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene6852/solr/core/src/java/org/apache/solr/handler/component/ExpandComponent.java?rev=1710428&r1=1710427&r2=1710428&view=diff
==============================================================================
--- lucene/dev/branches/lucene6852/solr/core/src/java/org/apache/solr/handler/component/ExpandComponent.java
(original)
+++ lucene/dev/branches/lucene6852/solr/core/src/java/org/apache/solr/handler/component/ExpandComponent.java
Sun Oct 25 11:17:55 2015
@@ -740,7 +740,8 @@ public class ExpandComponent extends Sea
               fieldInfo.getIndexOptions(),
               DocValuesType.NONE,
               fieldInfo.getDocValuesGen(),
-              fieldInfo.attributes());
+              fieldInfo.attributes(),
+              0, 0);
           newInfos.add(f);
 
         } else {

Modified: lucene/dev/branches/lucene6852/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene6852/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java?rev=1710428&r1=1710427&r2=1710428&view=diff
==============================================================================
--- lucene/dev/branches/lucene6852/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java
(original)
+++ lucene/dev/branches/lucene6852/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java
Sun Oct 25 11:17:55 2015
@@ -334,7 +334,8 @@ public class CollapsingQParserPlugin ext
                                       fieldInfo.getIndexOptions(),
                                       DocValuesType.NONE,
                                       fieldInfo.getDocValuesGen(),
-                                      fieldInfo.attributes());
+                                      fieldInfo.attributes(),
+                                      0, 0);
           newInfos.add(f);
 
         } else {

Modified: lucene/dev/branches/lucene6852/solr/core/src/java/org/apache/solr/search/Insanity.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene6852/solr/core/src/java/org/apache/solr/search/Insanity.java?rev=1710428&r1=1710427&r2=1710428&view=diff
==============================================================================
--- lucene/dev/branches/lucene6852/solr/core/src/java/org/apache/solr/search/Insanity.java
(original)
+++ lucene/dev/branches/lucene6852/solr/core/src/java/org/apache/solr/search/Insanity.java
Sun Oct 25 11:17:55 2015
@@ -66,7 +66,8 @@ public class Insanity {
       for (FieldInfo fi : in.getFieldInfos()) {
         if (fi.name.equals(insaneField)) {
           filteredInfos.add(new FieldInfo(fi.name, fi.number, fi.hasVectors(), fi.omitsNorms(),
-                                          fi.hasPayloads(), fi.getIndexOptions(), DocValuesType.NONE,
-1, Collections.emptyMap()));
+                                          fi.hasPayloads(), fi.getIndexOptions(), DocValuesType.NONE,
-1, Collections.emptyMap(),
+                                          0, 0));
         } else {
           filteredInfos.add(fi);
         }

Modified: lucene/dev/branches/lucene6852/solr/core/src/test/org/apache/solr/search/TestDocSet.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene6852/solr/core/src/test/org/apache/solr/search/TestDocSet.java?rev=1710428&r1=1710427&r2=1710428&view=diff
==============================================================================
--- lucene/dev/branches/lucene6852/solr/core/src/test/org/apache/solr/search/TestDocSet.java
(original)
+++ lucene/dev/branches/lucene6852/solr/core/src/test/org/apache/solr/search/TestDocSet.java
Sun Oct 25 11:17:55 2015
@@ -23,6 +23,7 @@ import java.util.List;
 import java.util.Random;
 
 import org.apache.lucene.index.BinaryDocValues;
+import org.apache.lucene.index.DimensionalValues;
 import org.apache.lucene.index.FieldInfo;
 import org.apache.lucene.index.FieldInfos;
 import org.apache.lucene.index.Fields;
@@ -426,6 +427,11 @@ public class TestDocSet extends LuceneTe
         return null;
       }
 
+      @Override
+      public DimensionalValues getDimensionalValues() {
+        return null;
+      }
+
       @Override
       protected void doClose() {
       }



Mime
View raw message