You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by ch...@apache.org on 2015/09/03 13:33:12 UTC

svn commit: r1700989 - /jackrabbit/site/live/oak/docs/query/lucene.html

Author: chetanm
Date: Thu Sep  3 11:33:12 2015
New Revision: 1700989

URL: http://svn.apache.org/r1700989
Log:
OAK-1752 - Node name queries should use an index

Modified:
    jackrabbit/site/live/oak/docs/query/lucene.html

Modified: jackrabbit/site/live/oak/docs/query/lucene.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/query/lucene.html?rev=1700989&r1=1700988&r2=1700989&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/query/lucene.html (original)
+++ jackrabbit/site/live/oak/docs/query/lucene.html Thu Sep  3 11:33:12 2015
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2015-09-01
+ | Generated by Apache Maven Doxia at 2015-09-03
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20150901" />
+    <meta name="Date-Revision-yyyymmdd" content="20150903" />
     <meta http-equiv="Content-Language" content="en" />
     <title>Jackrabbit Oak - Lucene Index</title>
     <link rel="stylesheet" href="../css/apache-maven-fluido-1.3.0.min.css" />
@@ -210,7 +210,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2015-09-01</li>
+                  <li id="publishDate">Last Published: 2015-09-03</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.4-SNAPSHOT</li>
                       
                 
@@ -642,6 +642,7 @@
 <div class="source">
 <pre>ruleName (nt:unstructured)
   - inherited (boolean) = true
+  - indexNodeName (boolean) = false
   - includePropertyTypes (string) multiple
   + properties (nt:unstructured)
 </pre></div>
@@ -655,6 +656,24 @@
 <dd>Applicable when index is enabled for fulltext indexing</dd>
 <dd>For full text index defaults to include all types</dd>
 <dd>String array of property types which should be indexed. The values can be one  specified in <a class="externalLink" href="http://www.day.com/specs/jsr170/javadocs/jcr-2.0/constant-values.html#javax.jcr.PropertyType.TYPENAME_STRING">PropertyType Names</a></dd>
+<dt><a name="index-node-name"></a><br />indexNodeName</dt>
+<dd><tt>@since Oak 1.0.20, 1.2.5</tt></dd>
+<dd>Default to false. If set to true then index would also be created for node name.  This would enable faster evaluation of queries involving constraints on Node  name. For example
+  
+<ul>
+    
+<li><i>select [jcr:path] from [nt:base] where NAME() = &#x2018;kite&#x2019;</i></li>
+    
+<li><i>select [jcr:path] from [nt:base] where NAME() LIKE &#x2018;kite%&#x2019;</i></li>
+    
+<li>//kite</li>
+    
+<li>//*[jcr:like(fn:name(), &#x2018;kite%&#x2019;)]</li>
+    
+<li>//element(*, app:Asset)[fn:name() = &#x2018;kite&#x2019;]</li>
+    
+<li>//element(kite, app:Asset)</li>
+  </ul></dd>
 </dl>
 <div class="section">
 <h5>Cost Overrides<a name="Cost_Overrides"></a></h5>