Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2480

Text extraction of password protected files

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

Details

    Description

      Proposal:
      There are password-protected files. PDF, Office documents in 2007 format/97 format.
      These files are posted using SolrCell.
      We do not have to read these files if we do not know the reading password of files.
      So, these files may not be extracted text.
      My requirement is that these files should be processed normally without extracting text, and without throwing exception.

      This background:
      Now, when you post a password-protected file, solr returns 500 server error.
      Solr catches the error in ExtractingDocumentLoader and throws TikException.

      I use ManifoldCF.
      If the solr server responds 500, ManifoldCF judge is that "this
      document should be retried because I have absolutely no idea what
      happened".
      And it attempts to retry posting many times without getting the password.

      In the other case, my customer posts the files with embedded images.
      Sometimes it seems that solr throws TikaException of unknown cause.
      He wants to post just metadata without extracting text, but makes him stop posting by the exception.

      Attachments

        1. password-is-solrcell.docx
          33 kB
          Koji Sekiguchi
        2. SOLR-2480.patch
          25 kB
          Koji Sekiguchi
        3. SOLR-2480.patch
          9 kB
          Koji Sekiguchi
        4. SOLR-2480.patch
          5 kB
          Koji Sekiguchi
        5. SOLR-2480-idea1.patch
          1 kB
          Shinichiro Abe

        Activity

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

          People

            koji Koji Sekiguchi
            shinichiro abe Shinichiro Abe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment