You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2013/01/10 16:20:13 UTC

[jira] [Resolved] (OAK-547) Property2Index: getCost reads all nodes

     [ https://issues.apache.org/jira/browse/OAK-547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Mueller resolved OAK-547.
--------------------------------

    Resolution: Fixed

Revision 1431411: now only up to 100 matching nodes are read
                
> Property2Index: getCost reads all nodes
> ---------------------------------------
>
>                 Key: OAK-547
>                 URL: https://issues.apache.org/jira/browse/OAK-547
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Minor
>
> Currently, Property2Index.getCost reads all nodes to calculate the cost. This might be slow if there is a lot of data. 
> There should be an upper limit to how many rows are read, for example 100.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira