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

SimplePostTool reports incorrect base url for PDFs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.10.3
    • 5.0, 6.0
    • scripts and tools

    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

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

            Dates

              Created:
              Updated:
              Resolved: