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

Use static AutoDetectParser in tika-server

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I just realized that we're creating a new AutoDetectParser for every parse in tika-server. When I looked at the diff in tika-batch, it took a bit less than a second to load the mime-types.

      Let's try to make that static.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tallison Tim Allison
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: