lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r787824 - /lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestSegmentReader.java
Date Tue, 23 Jun 2009 20:29:47 GMT
Author: mikemccand
Date: Tue Jun 23 20:29:47 2009
New Revision: 787824

URL: http://svn.apache.org/viewvc?rev=787824&view=rev
Log:
LUCENE-1708: optimize deletes X matching when merging stored fields & vectors

Modified:
    lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestSegmentReader.java

Modified: lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestSegmentReader.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestSegmentReader.java?rev=787824&r1=787823&r2=787824&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestSegmentReader.java
(original)
+++ lucene/java/branches/lucene_2_4_back_compat_tests/src/test/org/apache/lucene/index/TestSegmentReader.java
Tue Jun 23 20:29:47 2009
@@ -83,12 +83,6 @@
     assertTrue(deleteReader.isDeleted(0) == true);
     assertTrue(deleteReader.hasDeletions() == true);
     assertTrue(deleteReader.numDocs() == 0);
-    try {
-      deleteReader.document(0);
-      fail();
-    } catch (IllegalArgumentException e) {
-      // expcected exception
-    }
   }    
   
   public void testGetFieldNameVariations() {



Mime
View raw message