Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2257

Refuse to create property or ordered indexes for jcr:score

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • property-index
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            justinedelson Justin Edelson
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: