You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by th...@apache.org on 2016/03/23 16:23:33 UTC

svn commit: r1736341 - /jackrabbit/site/live/oak/docs/query/query-engine.html

Author: thomasm
Date: Wed Mar 23 15:23:33 2016
New Revision: 1736341

URL: http://svn.apache.org/viewvc?rev=1736341&view=rev
Log:
OAK-936: Site checkin for project Oak Documentation-1.6-SNAPSHOT

Modified:
    jackrabbit/site/live/oak/docs/query/query-engine.html

Modified: jackrabbit/site/live/oak/docs/query/query-engine.html
URL: http://svn.apache.org/viewvc/jackrabbit/site/live/oak/docs/query/query-engine.html?rev=1736341&r1=1736340&r2=1736341&view=diff
==============================================================================
--- jackrabbit/site/live/oak/docs/query/query-engine.html (original)
+++ jackrabbit/site/live/oak/docs/query/query-engine.html Wed Mar 23 15:23:33 2016
@@ -742,8 +742,8 @@ org.apache.jackrabbit.oak.query.QueryEng
 <li>A traversal index that iterates over a subtree.</li>
 </ul>
 <p>If no index can efficiently process the filter condition, the nodes in the repository are traversed at the given subtree.</p>
-<p>Usually, data is read from the index and repository while traversing over the query result. There are exceptions however, where all data is read in memory when the query is executed: when using a full-text index, and when using an &#x201c;order by&#x201d; clause.</p>
-<p>If you enable debug logging for the module org.apache.jackrabbit.oak.query&quot;, you may see this:</p>
+<p>Usually, data is read from the index and repository while traversing over the query result. There are exceptions however, where all data is read in memory when the query is executed. The most common case is when using an <tt>order by</tt> clause and the index can not provide a sorted result. There are other cases where paths of the results read so far are kept in memory, in order to not return duplicate results. This is the case when using <tt>or</tt> conditions such that two indexes are used (internally a <tt>union</tt> query is executed).</p>
+<p>If you enable debug logging for the module <tt>org.apache.jackrabbit.oak.query</tt>, you may see this:</p>
 
 <div class="source">
 <pre>cost for nodeType is 1638354.0