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 2015/03/13 16:17:57 UTC
svn commit: r1666477 -
/jackrabbit/oak/trunk/oak-doc/src/site/markdown/query/query.md
Author: thomasm
Date: Fri Mar 13 15:17:57 2015
New Revision: 1666477
URL: http://svn.apache.org/r1666477
Log:
OAK-301: Document Oak
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=1666477&r1=1666476&r2=1666477&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 Fri Mar 13 15:17:57 2015
@@ -275,6 +275,12 @@ See [Solr Index](lucene.html) for detail
The `NodeTypeIndex` implements a `QueryIndex` using `PropertyIndexLookup`s on `jcr:primaryType` `jcr:mixinTypes` to evaluate a node type restriction on the filter.
The cost for this index is the sum of the costs of the `PropertyIndexLookup` for queries on `jcr:primaryType` and `jcr:mixinTypes`.
+### Temporarily Disabling an Index
+
+To temporarily disable an index (for example for testing), set the index type to "undefined".
+Please note that while the index type is not set, the index is not updated, so if you enable it again,
+it might not be correct. This is specially important for synchronous indexes.
+
### The Ordered Index
NOTE: This index type has been deprecated.