[ http://issues.apache.org/jira/browse/JCR-145?page=all ]
Marcel Reutegger resolved JCR-145:
----------------------------------
Resolution: Fixed
The query handler in Jackrabbit now supports the parameter
'respectDocumentOrder', the default (when missing) is true.
Implemented in revision: 201580
> Document order of result nodes should be configurable
> -----------------------------------------------------
>
> Key: JCR-145
> URL: http://issues.apache.org/jira/browse/JCR-145
> Project: Jackrabbit
> Type: Improvement
> Components: query
> Environment: svn revision: 193102
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Priority: Minor
>
> Queries without an order by clause are performed with document order for the
> result nodes. This is a quite expensive operation, because the document order
> is available in the search index itself. The document order is calculated
> with the help of the ItemStateManager and requires loading of all result node
> states including their ancestors.
> Queries with a lot of result nodes become quite expensive, even though the
> actual query execution is fast. Because most use cases will not care for the
> document order, this feature should be made configurable. Some parameter for
> the QueryHandler that disables the document order on result nodes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira