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/08/12 13:54:27 UTC

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

Author: chetanm
Date: Wed Aug 12 11:54:27 2015
New Revision: 1695488

URL: http://svn.apache.org/r1695488
Log:
Fix incorrect config around includePropertyTypes

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=1695488&r1=1695487&r2=1695488&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/query/lucene.html (original)
+++ jackrabbit/site/live/oak/docs/query/lucene.html Wed Aug 12 11:54:27 2015
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2015-08-06
+ | Generated by Apache Maven Doxia at 2015-08-12
  | 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="20150806" />
+    <meta name="Date-Revision-yyyymmdd" content="20150812" />
     <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-08-06</li>
+                  <li id="publishDate">Last Published: 2015-08-12</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.4-SNAPSHOT</li>
                       
                 
@@ -1518,7 +1518,6 @@ WHERE
   - compatVersion = 2
   - type = &quot;lucene&quot;
   - async = &quot;async&quot;
-  - includePropertyTypes = [&quot;String&quot;, &quot;Binary&quot;]
   + aggregates
     + app:Asset
       + include0
@@ -1539,6 +1538,7 @@ WHERE
   + indexRules
     - jcr:primaryType = &quot;nt:unstructured&quot;
     + app:Asset
+      - includePropertyTypes = [&quot;String&quot;, &quot;Binary&quot;]
       + properties
         - jcr:primaryType = &quot;nt:unstructured&quot;
         + comment
@@ -1561,7 +1561,7 @@ WHERE
 <p>Inclusion of <i>jcr:content/renditions/original</i> would lead to aggregation of <i>jcr:content/renditions/original/jcr:content/jcr:data</i> property also as aggregation logic would apply rules for <tt>nt:file</tt> while aggregating the <tt>original</tt> node</p></li>
   
 <li>
-<p>Aggregation would include by default all properties which are part of <b><tt>includePropertyTypes</tt></b>. However if any property has a explicit property definition provided like <tt>comment</tt> then <tt>nodeScopeIndex</tt> would neet to be set to true</p></li>
+<p>Aggregation would include by default all properties which are part of <b><tt>includePropertyTypes</tt></b>. However if any property has a explicit property definition provided like <tt>comment</tt> then <tt>nodeScopeIndex</tt> would need to be set to true</p></li>
 </ul>
 <p>Above definition would allow fulltext query to be performed. But we can do more. Suppose you want to give more preference to those nodes where the fulltext term is found in <tt>jcr:title</tt> compared to any other field. In such cases we can <tt>boost</tt> such fields </p>