This is an automated email from the ASF dual-hosted git repository.

ngupta pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 33dbf0b8b9 OAK-10442 | Fixing docs to reflect aggregation does not 
support node type inheritence. (#1118)
33dbf0b8b9 is described below

commit 33dbf0b8b9b6fd702cf3b0b1ca1bae32c6c6f2f7
Author: nit0906 <nitingupta0...@gmail.com>
AuthorDate: Fri Sep 15 15:10:41 2023 +0530

    OAK-10442 | Fixing docs to reflect aggregation does not support node type 
inheritence. (#1118)
    
    Co-authored-by: Nitin Gupta <niti...@adobe.com>
---
 oak-doc/src/site/markdown/query/lucene.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/oak-doc/src/site/markdown/query/lucene.md 
b/oak-doc/src/site/markdown/query/lucene.md
index 8e8e52a2ab..3e39c719c4 100644
--- a/oak-doc/src/site/markdown/query/lucene.md
+++ b/oak-doc/src/site/markdown/query/lucene.md
@@ -660,6 +660,8 @@ Oak allows you to define index aggregates based on relative 
path patterns and
 primary node types. Changes to aggregated items cause the main item to be
 reindexed, even if it was not modified.
 
+<b>Please note that aggregation does not support nodeType inheritance. To 
support aggregation on child nodeTypes, they need to be explicitly defined as a 
separate aggregation configuration in the index definition.</b>
+
 Aggregation configuration is defined under the `aggregates` node under index
 configuration. The following example creates an index aggregate on nt:file that
 includes the content of the jcr:content node:

Reply via email to