lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Rafalovitch (JIRA)" <>
Subject [jira] [Created] (SOLR-6908) SimplePostTool's help message is incorrect -Durl parameter
Date Sun, 04 Jan 2015 20:45:34 GMT
Alexandre Rafalovitch created SOLR-6908:

             Summary: SimplePostTool's help message is incorrect -Durl parameter
                 Key: SOLR-6908
             Project: Solr
          Issue Type: Bug
          Components: documentation
    Affects Versions: 5.0
            Reporter: Alexandre Rafalovitch
            Priority: Minor
             Fix For: 5.0

java -jar post.jar -h

java -Durl=http://localhost:8983/solr/update/extract -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*

So, this should probably say:
java -Durl=http://localhost:8983/solr/techproducts/update/extract
-Dtype=application/pdf -jar post.jar solr-word.pdf

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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message