Author: thomasm Date: Thu Nov 5 09:46:38 2015 New Revision: 1712727 URL: http://svn.apache.org/viewvc?rev=1712727&view=rev 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=1712727&r1=1712726&r2=1712727&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 Thu Nov 5 09:46:38 2015 @@ -257,9 +257,10 @@ Is useful whenever there is a query with SELECT * FROM [nt:base] WHERE [jcr:uuid] = $id -To define a property index on a subtree you have to add an index definition node that: +To define a property index, you have to add an index definition node that: -* must be of type `oak:QueryIndexDefinition` +* Must be a child node of `/oak:index`. +* Must be of type `oak:QueryIndexDefinition`. * `type` (String) must have the property set to "property". * `propertyNames` (Name, multi-valued): the property to be indexed.