jackrabbit-oak-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1393758&view=rev
Log:
OAK-359 QueryEngine joins lack nodeType information

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=1393758&r1=1393757&r2=1393758&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 20:55:53 2012
@@ -278,7 +278,8 @@ public class LuceneIndex implements Quer
     private static void addNodeTypeConstraints(
             List<Query> qs, String name, NodeState root)
             throws RepositoryException {
-        if (NodeTypeConstants.NT_BASE.equals(name)) {
+        // TODO remove empty name check once OAK-359 is done
+        if (NodeTypeConstants.NT_BASE.equals(name) || "".equals(name)) {
             return; // shortcut
         }
         NodeState system = root.getChildNode(NodeTypeConstants.JCR_SYSTEM);



Mime
View raw message