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

SimplePostTool's help message is incorrect -Durl parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0
    • 5.0, 6.0
    • documentation
    • None

    Description

      java -jar post.jar -h

      ...
      java -Durl=http://localhost:8983/solr/update/extract -Dparams=literal.id=a -Dtype=application/pdf -jar post.jar a.pdf
      ...

      The example is the only one for -Durl and is not correct as it is missing the collection name. Also, even though this is an example, a.pdf does not exist, but we do have solr-word.pdf now.

      So, this should probably say:

      java -Durl=http://localhost:8983/solr/techproducts/update/extract -Dparams=literal.id=pdf1 -Dtype=application/pdf -jar post.jar solr-word.pdf

      Also, it is worth mentioning (if true) that specifying -Durl overrides -Dc.

      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: