• 0
    • 2
    • 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.

      P2 add-ons used to be able to implement Confluence's SearchResultRenderer interface to display their content in a nicer way in search results.

      For example, we at Gliffy used to utilize this hook so that diagrams in search results linked to preview images. Currently, since the hook is broken, the result link displays the JSON content of diagrams, which is obviously not useful to our users.

      This functionality seems to be missing since Confluence 5.2. Here is a recent Atlassian answer which notes the removal: https://answers.atlassian.com/questions/307952/create-a-search-result-renderer

      Please put this functionality back in, or let us know what the new way to do this is. Thank you!

      The current workaround is to click the gray Confluence page link below the search result description:

            [CONFSERVER-34892] Confluence SearchResultRenderer missing since 5.2.3

            CONF-30698CONF-11750CONF-34892 are all for the same request, please add full path in search quick search and full search result page.

            Mathieu Trepanier added a comment - CONF-30698 ,  CONF-11750 ,  CONF-34892  are all for the same request, please add full path in search quick search and full search result page.

            I am also very interested in this being an option again. I'm currently implementing several different content types that represent entities from our CRM. They are searchable, but I would really like there to be a way to customize the search results.

            My use-case that's making me actually ask for this:

            I have contacts that are being imported into Confluence from our CRM. At first I made the body of the custom content type empty and the search results appeared fine, albeit almost useless without clicking into the entity and going to the entity page. I wanted to add the most useful information to the results listing: phone number, email address link, title. For now I just added it to the body of the custom content type, but as it renders as normal, all the line breaks and HTML are removed and an ellipses cuts off part of the contact's title.

            I'll make due with it as-is, but it would be really useful to have the ability to provide a custom Velocity page or something that results of a certain content type could use to render.

            Andreas Lekas added a comment - I am also very interested in this being an option again. I'm currently implementing several different content types that represent entities from our CRM. They are searchable, but I would really like there to be a way to customize the search results. My use-case that's making me actually ask for this: I have contacts that are being imported into Confluence from our CRM. At first I made the body of the custom content type empty and the search results appeared fine, albeit almost useless without clicking into the entity and going to the entity page. I wanted to add the most useful information to the results listing: phone number, email address link, title. For now I just added it to the body of the custom content type, but as it renders as normal, all the line breaks and HTML are removed and an ellipses cuts off part of the contact's title. I'll make due with it as-is, but it would be really useful to have the ability to provide a custom Velocity page or something that results of a certain content type could use to render.

            We are also very interesting on a solution for our plugin Scroll Versions and Scroll Translations to optimize the search result in terms of different page versions, translated content/title, etc. I assume the new content properties would help but we have to support Confluence 5.3 and newer.

            Deleted Account (Inactive) added a comment - We are also very interesting on a solution for our plugin Scroll Versions and Scroll Translations to optimize the search result in terms of different page versions, translated content/title, etc. I assume the new content properties would help but we have to support Confluence 5.3 and newer.

            aribrown,

            There is a slightly useful feature here, despite the raw JSON diagram content which you see when clicking directly on a Gliffy search result. It's possible to navigate to a diagram's parent/container page by clicking the light-gray text link that's below the page content in the search results (next to the page's last modified date). This somewhat useful feature is why we haven't yet removed ourselves from the search results entirely. However, I understand your complaint, and we would love for Atlassian reintroduce the SearchResultRenderer so we can provide a nicer experience.

            Regards,
            Mike Cialowicz
            Atlassian Ecosystem Lead
            Gliffy, Inc.

            Mike Cialowicz added a comment - aribrown , There is a slightly useful feature here, despite the raw JSON diagram content which you see when clicking directly on a Gliffy search result. It's possible to navigate to a diagram's parent/container page by clicking the light-gray text link that's below the page content in the search results (next to the page's last modified date). This somewhat useful feature is why we haven't yet removed ourselves from the search results entirely. However, I understand your complaint, and we would love for Atlassian reintroduce the SearchResultRenderer so we can provide a nicer experience. Regards, Mike Cialowicz Atlassian Ecosystem Lead Gliffy, Inc.

            Ari Brown added a comment -

            My issue at present is that without this renderer, the Gliffy diagrams are included in search but returned as JSON garbage. I can't exclude them from search by default, as far as I know...

            Ari Brown added a comment - My issue at present is that without this renderer, the Gliffy diagrams are included in search but returned as JSON garbage. I can't exclude them from search by default, as far as I know...

            Dear Mike

            Thanks for raising this issue. SearchResultRenderer was removed due to performance reasons. The advised way for handling this is to ensure that the index contains human readable description of the searchable content. I will leave this issue open so we can gauge interest in finding a way to reintroduce the feature in some form.

            Regards
            Olli Nevalainen
            Confluence Bugmaster
            Atlassian

            Olli Nevalainen added a comment - Dear Mike Thanks for raising this issue. SearchResultRenderer was removed due to performance reasons. The advised way for handling this is to ensure that the index contains human readable description of the searchable content. I will leave this issue open so we can gauge interest in finding a way to reintroduce the feature in some form. Regards Olli Nevalainen Confluence Bugmaster Atlassian

              Unassigned Unassigned
              cad8336da6d7 Mike Cialowicz
              Votes:
              25 Vote for this issue
              Watchers:
              23 Start watching this issue

                Created:
                Updated: