[ 
https://issues.apache.org/jira/browse/JCR-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545901
 ] 

Jukka Zitting commented on JCR-1237:
------------------------------------

Marcel:
> I'm not sure I understand your question. But the document order is never 
> available in the index.
> It is always calculated. 

Sorry, my (obscured) point was that the query engine is still able to return 
results in document order even if the default would be to not do that. 
Unfortunately there is no way for a client to explicitly request that the 
results should be document-ordered if that's not the default.

But I guess that's a secondary concern and probably should be addressed with a 
separate feature request.

> Change default value for respectDocumentOrder
> ---------------------------------------------
>
>                 Key: JCR-1237
>                 URL: https://issues.apache.org/jira/browse/JCR-1237
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Priority: Minor
>
> The current default value for the search index configuration parameter 
> respectDocumentOrder is true. Almost all applications are not interested in 
> document order, while this default adds significant overhead to query 
> execution because document order information is present in the index but has 
> to be calculated over the complete result set.
> I propose to change the default value to false and document this change in 
> the 1.4 release notes. If an application relies on document order one can 
> still explicitly set the parameter in the configuration to true.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to