jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shu...@apache.org
Subject svn commit: r1051125 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactory.java
Date Mon, 20 Dec 2010 14:18:54 GMT
Author: shuber
Date: Mon Dec 20 14:18:53 2010
New Revision: 1051125

URL: http://svn.apache.org/viewvc?rev=1051125&view=rev
Log:
JCR-2835 : Poor performance of ISDESCENDANTNODE on SQL 2 queries
- Missed some of the changes to fields visibility that allow sub-classing to test optimizations.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactory.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactory.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactory.java?rev=1051125&r1=1051124&r2=1051125&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactory.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactory.java
Mon Dec 20 14:18:53 2010
@@ -117,32 +117,32 @@ public class LuceneQueryFactory {
     /**
      * Session of the user executing this query
      */
-    private final SessionImpl session;
+    protected final SessionImpl session;
 
     /**
      * Node type manager
      */
-    private final NodeTypeManager ntManager;
+    protected final NodeTypeManager ntManager;
 
     /** Lucene search index */
-    private final SearchIndex index;
+    protected final SearchIndex index;
 
     /**
      * Namespace mappings to internal prefixes
      */
-    private final NamespaceMappings nsMappings;
+    protected final NamespaceMappings nsMappings;
 
     /**
      * NamePathResolver to map namespace mappings to internal prefixes
      */
-    private final NamePathResolver npResolver;
+    protected final NamePathResolver npResolver;
 
     /** Operand evaluator */
-    private final OperandEvaluator evaluator;
+    protected final OperandEvaluator evaluator;
 
-    private final String mixinTypesField;
+    protected final String mixinTypesField;
 
-    private final String primaryTypeField;
+    protected final String primaryTypeField;
 
     /**
      * Creates a new lucene query factory.



Mime
View raw message