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 2016/05/03 15:42:46 UTC

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

Author: chetanm
Date: Tue May  3 13:42:46 2016
New Revision: 1742113

URL: http://svn.apache.org/viewvc?rev=1742113&view=rev
Log:
OAK-3981 - Document excludeFromAggregation

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=1742113&r1=1742112&r2=1742113&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/query/lucene.html (original)
+++ jackrabbit/site/live/oak/docs/query/lucene.html Tue May  3 13:42:46 2016
@@ -1,13 +1,13 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 2016-04-20
+ | Generated by Apache Maven Doxia at 2016-05-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="20160420" />
+    <meta name="Date-Revision-yyyymmdd" content="20160503" />
     <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" />
@@ -213,7 +213,7 @@
         <ul class="breadcrumb">
                 
                     
-                  <li id="publishDate">Last Published: 2016-04-20</li>
+                  <li id="publishDate">Last Published: 2016-05-03</li>
                   <li class="divider">|</li> <li id="projectVersion">Version: 1.6-SNAPSHOT</li>
                       
                 
@@ -721,6 +721,7 @@
   - type (string) = 'undefined'
   - propertyIndex (boolean) = false
   - nullCheckEnabled (boolean) = false
+  - excludeFromAggregation (boolean) = false
 </pre></div>
 <p>Following are the details about the above mentioned config options which can be defined at the property definition level</p>
 
@@ -790,6 +791,12 @@
 </dl>
 <p>It would be better to use a query which checks for property existence or property  being set to specific values as such queries can make use of index without any  extra storage cost.</p>
 <p>Refer to <a class="externalLink" href="https://issues.apache.org/jira/browse/OAK-2517">IS NULL support</a> for more details</p>
+
+<dl>
+<dt>excludeFromAggregation</dt>
+<dd>Since 1.0.27, 1.2.11</dd>
+<dd>if set to true the property would be excluded from aggregation <a class="externalLink" href="https://issues.apache.org/jira/browse/OAK-3981">OAK-3981</a></dd>
+</dl>
 <p><a name="property-names"></a><b>Property Names</b></p>
 <p>Property name can be one of following</p>
 
@@ -866,6 +873,7 @@
       + include0
         - path = &quot;jcr:content&quot;
 </pre></div>
+<p>By default all properties whose type matches <tt>includePropertyTypes</tt> and are part of child nodes as per the aggregation pattern are included for indexing. For excluding certain properties define a property definition with relative path and set <tt>excludeFromAggregation</tt> to <tt>true</tt>. Such properties would then be excluded from fulltext index</p>
 <p>For a given nodeType multiple includes can be defined. Below is the aggregate definition structure for any specific include rule</p>
 
 <div class="source">