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

Confluence search is broken for data within content elements, such as URLs in links, parameters in macros, image names on pages

      In Confluence 3.5.x and earlier, it was possible to search a space or site for macro parameters, URLs in links, and other markup elements, because they were part of the wiki markup and thus part of the page content. This is no longer possible in Confluence 4.

      Root cause: Metadata (parameters) for content elements is hidden from the global search.

      Problem specification:

      • While it is possible to search for macro names using the macroName search field, this functionality is obscure, and the usage of that field is tricky. See "How to search Confluence for usage of a macro": http://ffeathers.wordpress.com/2011/11/04/how-to-search-confluence-for-usage-of-a-macro/
      • It is not possible to search for macro parameters.
        • This means, for example, that you cannot discover where a particular excerpt or page is included into another page (CONF-23775). Scenario: I want to remove a page or update its content, but I need to find out first where it is included into another page.
        • Another scenario: I have changed a page name, and now I need to fix all the macros that refer to that page. Note that Confluence will fix links, but not the page names inside macros. Examples of macros that need fixing: children, excerpt, excerpt-include, anchor, pagetree, pagetreesearch, plus any number of user macros and macros added by plugins.
      • It is not possible to search for URLs used in links (CONF-24079). Scenario: Our website has moved to a different server and we want to fix all the links in the documentation that point to our website.
      • It is not possible to find all the pages that use a given image (or other attachment). You can search for attachments by filename using the filename field, but you can't search for their usage. For example, I can find out where "myImage.png" is attached to a page, but I cannot find all the pages that display "myImage.png". Scenario: I want to remove/update a screenshot, but first I need to know where it's used. Note that this problem is made even more urgent by the fact that the Confluence editor now links to the original source of an image, if you copy content from one page to another by copying and pasting.

      Please refer to the following comments on our customer feedback pages:

      Note: This issue is about the Confluence search function, not the search within the editor. For similar issues related to search within the editor, please see CONF-23560, CONF-23561, CONF-23667.

          Form Name

            [CONFSERVER-24568] Confluence search is broken for data within content elements, such as URLs in links, parameters in macros, image names on pages

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2875859 ] New: CONFSERVER Bug Workflow v4 [ 3001824 ]

            Now that the plugin mentioned above has been discontinued, is there another way to search for macro content?

            Should we reopen this issue, since it seems it's not solved in Confluence 6?

            Jochen Suckfüll added a comment - Now that the plugin mentioned above has been discontinued, is there another way to search for macro content? Should we reopen this issue, since it seems it's not solved in Confluence 6?
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2803605 ] New: JAC Bug Workflow v3 [ 2875859 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2737179 ] New: JAC Bug Workflow v2 [ 2803605 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2389165 ] New: JAC Bug Workflow [ 2737179 ]
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix editor enterprise loyalty New: affects-server editor enterprise loyalty
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix editor enterprise New: affects-server bugfix editor enterprise loyalty
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2266517 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2389165 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2210238 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2266517 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2196099 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2210238 ]

              gvotruong Giang Vo
              barconati BillA
              Affected customers:
              21 This affects my team
              Watchers:
              35 Start watching this issue

                Created:
                Updated:
                Resolved: