jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexparvule...@apache.org
Subject svn commit: r1393344 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/LuceneIndex.java
Date Wed, 03 Oct 2012 08:27:02 GMT
Author: alexparvulescu
Date: Wed Oct  3 08:27:01 2012
New Revision: 1393344

URL: http://svn.apache.org/viewvc?rev=1393344&view=rev
Log:
OAK-325 QueryEngine can't handle node type hierarchies

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/LuceneIndex.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/LuceneIndex.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/LuceneIndex.java?rev=1393344&r1=1393343&r2=1393344&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/LuceneIndex.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/lucene/LuceneIndex.java
Wed Oct  3 08:27:01 2012
@@ -253,6 +253,7 @@ public class LuceneIndex implements Quer
         while (iterator.hasNext()) {
             bq.add(createNodeTypeQuery(iterator.nextNodeType()), Occur.SHOULD);
         }
+        qs.add(bq);
     }
 
     private static Query createNodeTypeQuery(NodeType type) {



Mime
View raw message