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

Erik Hatcher commented on SOLR-6435:
------------------------------------

Error checking is the tough part.  Latest patch requires this syntax "bin/post 
<collection> <path or url> [optional params passed to SPT]", but if the user 
omits the collection name what then?   Ugly error currently.  I suppose it 
could check for the existence of the collection and issue a clean error message.

Any objections or thoughts about committing it basically like this and iterate? 
  I don't plan on making a comparable Windows version of this myself, but 
patches welcome on that front.

> Add script to simplify posting content to Solr
> ----------------------------------------------
>
>                 Key: SOLR-6435
>                 URL: https://issues.apache.org/jira/browse/SOLR-6435
>             Project: Solr
>          Issue Type: Improvement
>          Components: scripts and tools
>    Affects Versions: 4.10
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>             Fix For: 5.0, Trunk
>
>         Attachments: SOLR-6435.patch, SOLR-6435.patch
>
>
> Solr's SimplePostTool (example/exampledocs/post.jar) provides a very useful, 
> simple way to get common types of content into Solr.  With the new start 
> scripts and the directory refactoring, let's move this tool to a first-class, 
> non "example" script fronted tool.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to