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

Tika does not respect a configuration value passed over a HTTP Header

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • server
    • None

    Description

       
      I think the value of TikaServerConfig.TaskTimeoutMillis should be overridden for the current request over X-Tika-OCRTimeoutSeconds header. The following request takes more than 120 seconds.
      curl -vvv -X PUT -T sampleimage.png http://localhost:9998/tika --header "X-Tika-OCRTimeoutSeconds: 600"
       
      Tesserect is configured with tessdata_best models

      Attachments

        Activity

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

          People

            tallison Tim Allison
            dataminer.accolade dataminer.accolade
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment