You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2015/01/04 23:32:34 UTC

[jira] [Comment Edited] (SOLR-6908) SimplePostTool's help message is incorrect -Durl parameter

    [ https://issues.apache.org/jira/browse/SOLR-6908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264074#comment-14264074 ] 

Erik Hatcher edited comment on SOLR-6908 at 1/4/15 10:32 PM:
-------------------------------------------------------------

-Dtype isn't needed when going to /update/extract, as that it detects the type automatically there and I figured it'd be good to shorten up the example line.  Ah, pdf1, sorry I missed that - I'll adjust.


was (Author: ehatcher):
-Dtype isn't needed with going to /update/extract, as that it detects the type automatically there and I figured it'd be good to shorten up the example line.  Ah, pdf1, sorry I missed that - I'll adjust.

> SimplePostTool's help message is incorrect -Durl parameter
> ----------------------------------------------------------
>
>                 Key: SOLR-6908
>                 URL: https://issues.apache.org/jira/browse/SOLR-6908
>             Project: Solr
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 5.0
>            Reporter: Alexandre Rafalovitch
>            Assignee: Erik Hatcher
>            Priority: Minor
>             Fix For: 5.0, Trunk
>
>
> {quote}
> 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
> ...
> {quote}
> 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:
> {quote}
> java -Durl=http://localhost:8983/solr/techproducts/update/extract -Dparams=literal.id=pdf1 -Dtype=application/pdf -jar post.jar solr-word.pdf
> {quote}
> Also, it is worth mentioning (if true) that specifying *-Durl* overrides *-Dc*.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org