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.