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 "Justin Edelson (JIRA)" <ji...@apache.org> on 2014/11/05 21:36:36 UTC

[jira] [Updated] (OAK-2257) Refuse to create property or ordered indexes for jcr:score

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

Justin Edelson updated OAK-2257:
--------------------------------
    Description: 
If an administrator tries to create an ordered or property index with the property name jcr:score, Oak should refuse to create that index.

An index with this property will cause most order by jcr:score queries to return no results because the index will always be empty (since no nodes actually have a jcr:score property) and that results in a very low cost.

  was:If an administrator tries to create an ordered or property index with the property name jcr:score, Oak should refuse to create that index.


> Refuse to create property or ordered indexes for jcr:score
> ----------------------------------------------------------
>
>                 Key: OAK-2257
>                 URL: https://issues.apache.org/jira/browse/OAK-2257
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Justin Edelson
>
> If an administrator tries to create an ordered or property index with the property name jcr:score, Oak should refuse to create that index.
> An index with this property will cause most order by jcr:score queries to return no results because the index will always be empty (since no nodes actually have a jcr:score property) and that results in a very low cost.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)