You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by ch...@apache.org on 2016/05/03 15:42:23 UTC

svn commit: r1742112 - /jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md

Author: chetanm
Date: Tue May  3 13:42:23 2016
New Revision: 1742112

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

Modified:
    jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md

Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md?rev=1742112&r1=1742111&r2=1742112&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md Tue May  3 13:42:23 2016
@@ -277,6 +277,7 @@ structure
       - type (string) = 'undefined'
       - propertyIndex (boolean) = false
       - nullCheckEnabled (boolean) = false
+      - excludeFromAggregation (boolean) = false
 
 Following are the details about the above mentioned config options which can be
 defined at the property definition level
@@ -360,6 +361,10 @@ nullCheckEnabled
   extra storage cost.
 
   Refer to [IS NULL support][OAK-2517] for more details
+  
+excludeFromAggregation
+: Since 1.0.27, 1.2.11
+: if set to true the property would be excluded from aggregation [OAK-3981][OAK-3981]
 
 <a name="property-names"></a>**Property Names**
 
@@ -487,6 +492,12 @@ includes the content of the jcr:content
           + include0
             - path = "jcr:content"
 
+By default all properties whose type matches `includePropertyTypes` 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 `excludeFromAggregation` to `true`. Such properties would then be
+excluded from fulltext index
+
 For a given nodeType multiple includes can be defined. Below is the aggregate
 definition structure for any specific include rule
 
@@ -1584,6 +1595,7 @@ such fields
 [OAK-2892]: https://issues.apache.org/jira/browse/OAK-2892
 [OAK-3367]: https://issues.apache.org/jira/browse/OAK-3367
 [OAK-3994]: https://issues.apache.org/jira/browse/OAK-3394
+[OAK-3981]: https://issues.apache.org/jira/browse/OAK-3981
 [luke]: https://code.google.com/p/luke/
 [tika]: http://tika.apache.org/
 [oak-console]: https://github.com/apache/jackrabbit-oak/tree/trunk/oak-run#console