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

SimplePostTool reports incorrect base url for PDFs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.10.3
    • Fix Version/s: 5.0, 6.0
    • Component/s: scripts and tools
    • Labels:

      Description

      $ java -Dc=techproducts -Dauto -Dcommit=no -jar post.jar solr-word.pdf
      SimplePostTool version 1.5
      Posting files to base url http://localhost:8983/solr/techproducts/update..

      This command will not post to /update, it will post to /update/extract. This should be reported correspondingly.

      From the server log:

      127.0.0.1 - - [11/Jan/2015:17:17:10 +0000] "POST /solr/techproducts/update/extract?resource.name=....

      It would make sense for that message to be after the auto-mode determination just before the actual POST.

      Also, what's with two dots after the url? If it is etc, it should probably be three dots.

        Attachments

          Activity

            People

            • Assignee:
              ehatcher Erik Hatcher
              Reporter:
              arafalov Alexandre Rafalovitch
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: