Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-11577

Store pre-lowercased content titles for more efficient lookup

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Most databases do not index varchar() fields in a way that is friendly to case-insensitive lookups. There are per-database solutions to this (function indexes in Oracle, generated columns in DB2, etc), but no easy general solution. Since one of the most frequent lookups we do is matched against the lower(title) column of the CONTENT table, we should store a pre-lowercased value of content titles in the database and look up against that instead.

      (see CONF-10030)

            [CONFSERVER-11577] Store pre-lowercased content titles for more efficient lookup

            BillA added a comment -

            Thank you for raising this issue. While I can see how this feature would be useful, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Thanks again for your idea.

            BillA added a comment - Thank you for raising this issue. While I can see how this feature would be useful, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Thanks again for your idea.

            I'm attaching a starting point patch which I partially tested before reverting to a less verbose but mysql-specific fix via case-insensitive collation.

            Igor Minar added a comment - I'm attaching a starting point patch which I partially tested before reverting to a less verbose but mysql-specific fix via case-insensitive collation.

            Jeremy Largman added a comment - Index creation is described here: http://confluence.atlassian.com/display/DOC/Creating+a+Lowercase+Page+Title+Index

              Unassigned Unassigned
              cmiller@atlassian.com Charles Miller (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: