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 th...@apache.org on 2014/12/17 17:48:25 UTC
svn commit: r1646293 -
/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md
Author: thomasm
Date: Wed Dec 17 16:48:24 2014
New Revision: 1646293
URL: http://svn.apache.org/r1646293
Log:
OAK-301 : oak docu
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md
Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md?rev=1646293&r1=1646292&r2=1646293&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md Wed Dec 17 16:48:24 2014
@@ -195,9 +195,14 @@ To define a property index on a subtree
_Optionally_ you can specify
-* a uniqueness constraint on a property index by setting the `unique` flag to `true`
+* a uniqueness constraint on a property index by setting the `unique` flag to `true`,
* that the property index only applies to a certain node type by setting the `declaringNodeTypes` property
-* the `entryCount` (a long), which is used for the cost estimation (a high entry count means a high cost)
+ (where setting it to an empty array means all node types are indexed),
+* the `entryCount` (a long), the estimated number of path entries in the index,
+ which is used for the cost estimation (a high entry count means a high cost)
+* the `keyCount` (a long), the estimated number of keys in the index,
+ which is used for the cost estimation (a high key count means a lower cost,
+ when searching for specific keys; has no effect when searching for "is not null"),
* the `reindex` flag which when set to `true`, triggers a full content re-index.
Example: