jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1755169 - /jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexNode.java
Date Thu, 04 Aug 2016 09:48:40 GMT
Author: chetanm
Date: Thu Aug  4 09:48:40 2016
New Revision: 1755169

URL: http://svn.apache.org/viewvc?rev=1755169&view=rev
Log:
OAK-4566 - Multiplexing store support in Lucene Indexes

Remove the check and add a TODO for OAK-4643

Modified:
    jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexNode.java

Modified: jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexNode.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexNode.java?rev=1755169&r1=1755168&r2=1755169&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexNode.java
(original)
+++ jackrabbit/oak/trunk/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/IndexNode.java
Thu Aug  4 09:48:40 2016
@@ -118,9 +118,7 @@ class IndexNode {
     }
 
     private LuceneIndexReader getDefaultReader(){
-        //TODO This is still required to support Suggester, Spellcheck etc
-        Preconditions.checkArgument(readers.size() == 1, "Multiple readers provided. Default
reader cannot be " +
-                "determined %s", readers);
+        //TODO This is still required to support Suggester, Spellcheck etc OAK-4643
         return readers.get(0);
     }
 



Mime
View raw message