lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r764956 - in /lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index: FieldInfo.java MultiReader.java MultiSegmentReader.java
Date Tue, 14 Apr 2009 21:18:26 GMT
Author: mikemccand
Date: Tue Apr 14 21:18:26 2009
New Revision: 764956

URL: http://svn.apache.org/viewvc?rev=764956&view=rev
Log:
LUCENE-1529: add compile-time standins so jar drop-in-ability back compat test works

Modified:
    lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/FieldInfo.java
    lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/MultiReader.java
    lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/MultiSegmentReader.java

Modified: lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/FieldInfo.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/FieldInfo.java?rev=764956&r1=764955&r2=764956&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/FieldInfo.java
(original)
+++ lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/FieldInfo.java
Tue Apr 14 21:18:26 2009
@@ -29,6 +29,7 @@
 
   boolean omitNorms; // omit norms associated with indexed fields  
   boolean omitTf; // omit tf
+  boolean omitTermFreqAndPositions; // NOTE: STANDIN so back-compat tests compile
   
   boolean storePayloads; // whether this field stores payloads together with term positions
 

Modified: lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/MultiReader.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/MultiReader.java?rev=764956&r1=764955&r2=764956&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/MultiReader.java
(original)
+++ lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/MultiReader.java
Tue Apr 14 21:18:26 2009
@@ -369,4 +369,9 @@
   IndexReader[] getSubReaders() {
     return subReaders;
   }
+
+  // NOTE: STANDIN so back-compat tests compile
+  IndexReader[] getSequentialSubReaders() {
+    return subReaders;
+  }
 }

Modified: lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/MultiSegmentReader.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/MultiSegmentReader.java?rev=764956&r1=764955&r2=764956&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/MultiSegmentReader.java
(original)
+++ lucene/java/branches/lucene_2_4_back_compat_tests/src/java/org/apache/lucene/index/MultiSegmentReader.java
Tue Apr 14 21:18:26 2009
@@ -437,6 +437,11 @@
     return subReaders;
   }
 
+  // NOTE: STANDIN so back-compat tests compile
+  IndexReader[] getSequentialSubReaders() {
+    return subReaders;
+  }
+
   public void setTermInfosIndexDivisor(int indexDivisor) throws IllegalStateException {
     for (int i = 0; i < subReaders.length; i++)
       subReaders[i].setTermInfosIndexDivisor(indexDivisor);



Mime
View raw message