Uploaded image for project: 'Atlassian Intelligence'
  1. Atlassian Intelligence
  2. AI-781

Filter Out All Media Files from Microsoft Word Documents to Improve Indexing in Confluence

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

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

      Problem Definition

      Currently Confluence only strips out a limited number of media files embedded in a Microsoft Word document before indexing it:

      • .png
      • .emf
      • .wmf
      • .jpg
      • .jpeg
      • .gif

      If a document has an embedded file not listed here, it may not get indexed if it is too large.

      Background

      Currently Confluence does not index files if the content with the removed media listed above is greater than 16Mb. There's a system property that can be set to make this larger, but this isn't used. See CONF-40176 for more details.

      Suggested Solution

      In com.atlassian.confluence.extra.officeconnector.index.word#WordXMLTextExtractor it has

      WordXMLTextExtractor.java
                          if (!(name.contains("/media/") ||
                                  processedName.endsWith(".png") || processedName.endsWith(".emf") || processedName.endsWith(".wmf") ||
                                  processedName.endsWith(".jpg") || processedName.endsWith(".jpeg") ||
                                  processedName.endsWith(".gif")
                             ))
      

      Either

      1. Strip out all content in the /media folder
        or
      2. Add all media types that are possible to add to a Word document. See Types of media files you can add.

      Notes

      Similar issues occur with other Microsoft Office documents (e.g. PowerPoint).

          Form Name

            [AI-781] Filter Out All Media Files from Microsoft Word Documents to Improve Indexing in Confluence

            Atlassian Update - April 16, 2021

            Hi everyone,

            Thank you for bringing this suggestion to our attention.

            As explained in our new feature policy, there are many factors that influence our product roadmaps and determine the features we implement. When making decisions about what to prioritize and work on, we combine your feedback and suggestions with insights from our support teams, product analytics, research findings, and more. This information, combined with our medium- and long-term product and platform vision, determines what we implement and its priority order.

            Unfortunately, this suggestion didn’t make it to the roadmap this time and we are closing it.

            As we continue to roll out features we do look at feedback from our users and if you feel like this suggestion is still important to your team please let us know by commenting on this ticket.

            Thank you again for providing valuable feedback to our team!

            Matthew Hunter added a comment - Atlassian Update - April 16, 2021 Hi everyone, Thank you for bringing this suggestion to our attention. As explained in our new feature policy , there are many factors that influence our product roadmaps and determine the features we implement. When making decisions about what to prioritize and work on, we combine your feedback and suggestions with insights from our support teams, product analytics, research findings, and more. This information, combined with our medium- and long-term product and platform vision, determines what we implement and its priority order. Unfortunately, this suggestion didn’t make it to the roadmap this time and we are closing it. As we continue to roll out features we do look at feedback from our users and if you feel like this suggestion is still important to your team please let us know by commenting on this ticket. Thank you again for providing valuable feedback to our team!

              Unassigned Unassigned
              jrichards@atlassian.com James Richards
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: