Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-4039

Allow users to set the maximum attachment size in the /unpack resource of tika-server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.7.0
    • 2.9.0
    • config, parser
    • None

    Description

      Adding the option to override the maximum bytes that Unrar parser can handle

      so I would not get the TikaMemoryLimitException.

      Wish to have the configuration to look like this:

      <parser class="org.apache.tika.parser.pkg.UnrarParser">
                  <params>
                      <param name="byteArrayMaxOverride" type="int">1000000000</param>
                  </params>

      </parser>

      Attachments

        1. tika-config.xml
          0.7 kB
          Shay barak

        Issue Links

          Activity

            People

              tallison Tim Allison
              shayb Shay barak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: