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 to...@apache.org on 2015/07/28 10:57:40 UTC

svn commit: r1693037 - /jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/solr.md

Author: tommaso
Date: Tue Jul 28 08:57:40 2015
New Revision: 1693037

URL: http://svn.apache.org/r1693037
Log:
OAK-3147 - added doc

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

Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/solr.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/solr.md?rev=1693037&r1=1693036&r2=1693037&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/solr.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/solr.md Tue Jul 28 08:57:40 2015
@@ -175,6 +175,23 @@ The number of documents per 'page' to be
 
 Default is _Integer.MAX_VALUE_ (was _50_ in Oak 1.0).
 
+#### Collapse _jcr:content_ nodes
+
+`@since 1.3.4, 1.2.4, 1.0.18`
+
+Whether the [Collapsing query parser](https://cwiki.apache.org/confluence/display/solr/Collapse+and+Expand+Results) should
+be used when searching in order to collapse nodes that are descendants of 'jcr:content' nodes into the 'jcr:content' node only.
+E.g. if normal query results would include '/a/jcr:content' and '/a/jcr:content/b/', with this option enabled only 
+'/a/jcr:content' would be returned by Solr using the Collapsing query parser.
+This feature requires an additional field to be indexed, therefore if this is turned on, reindexing should be triggered
+in order to make it work properly.  
+
+#### Collapsed path field 
+
+`@since 1.3.4, 1.2.4, 1.0.18`
+
+The name of the field used for collapsing descendants of jcr:content nodes, see 'Collapse jcr:content nodes' option.
+
 ##### Solr server configuration options
 
 TBD