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 2017/02/23 09:29:18 UTC
svn commit: r1784098 -
/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/lucene.md
Author: thomasm
Date: Thu Feb 23 09:29:18 2017
New Revision: 1784098
URL: http://svn.apache.org/viewvc?rev=1784098&view=rev
Log:
OAK-5520 Improve index and query documentation
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=1784098&r1=1784097&r2=1784098&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 Thu Feb 23 09:29:18 2017
@@ -273,6 +273,7 @@ structure
- isRegexp (boolean) = false
- type (string) = 'undefined'
- propertyIndex (boolean) = false
+ - notNullCheckEnabled (boolean) = false
- nullCheckEnabled (boolean) = false
- excludeFromAggregation (boolean) = false
@@ -349,10 +350,19 @@ propertyIndex
: Whether the index for this property is used for equality conditions, ordering,
and is not null conditions.
+notNullCheckEnabled
+: Since 1.1.8
+: If the property is checked for _is not null_ then this should be set to true.
+ To reduce the index size,
+ this should only be enabled for nodeTypes that are not generic.
+ * _//element(*, app:Asset)[jcr:content/@excludeFromSearch]
+
+ For details, see [IS NOT NULL support][OAK-2234].
+
nullCheckEnabled
: Since 1.0.12
: If the property is checked for _is null_ then this should be set to true. This
- should only be enabled for nodeTypes which are not generic as it leads to index
+ should only be enabled for nodeTypes that are not generic as it leads to index
entry for all nodes of that type where this property is not set.
* _//element(*, app:Asset)[not(jcr:content/@excludeFromSearch)]
@@ -360,7 +370,7 @@ nullCheckEnabled
being set to specific values as such queries can make use of index without any
extra storage cost.
- Refer to [IS NULL support][OAK-2517] for more details
+ For details, see [IS NULL support][OAK-2517].
excludeFromAggregation
: Since 1.0.27, 1.2.11
@@ -1632,6 +1642,7 @@ such fields
[OAK-2005]: https://issues.apache.org/jira/browse/OAK-2005
[OAK-1737]: https://issues.apache.org/jira/browse/OAK-1737
[OAK-2306]: https://issues.apache.org/jira/browse/OAK-2306
+[OAK-2234]: https://issues.apache.org/jira/browse/OAK-2234
[OAK-2268]: https://issues.apache.org/jira/browse/OAK-2268
[OAK-2517]: https://issues.apache.org/jira/browse/OAK-2517
[OAK-2469]: https://issues.apache.org/jira/browse/OAK-2469