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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            terdelyi79 Tibor Erdélyi

            Dates

              Created:
              Updated:

              Issue deployment