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

Sending a 3 character text file to tika server takes 1-2 seconds to process

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.16
    • None
    • server
    • None

    Description

      If a text file is sent to Tika server on localhost containing 3 character only (http://localhost:9998/rmeta/text) it takes about 1-2 seconds, while real processing takes only about 30 msec.

      Processing time difference is caused by constructor of LanguageHandler class called in RecursiveMetadataResource.parseMetadata method. Is it needed to create a new instance of this class for each request?

      Attachments

        Activity

          People

            Unassigned Unassigned
            terdelyi79 Tibor Erdélyi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: