[
https://issues.apache.org/jira/browse/SOLR-7832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14652348#comment-14652348
]
ASF subversion and git services commented on SOLR-7832:
-------------------------------------------------------
Commit 1693959 from [~ehatcher] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1693959 ]
SOLR-7832: bin/post now allows either -url or -c, rather than requiring both
(merged from trunk r1693958)
> bin/post: do not require or allow -c when -url is specified
> ------------------------------------------------------------
>
> Key: SOLR-7832
> URL: https://issues.apache.org/jira/browse/SOLR-7832
> Project: Solr
> Issue Type: Bug
> Components: scripts and tools
> Affects Versions: 5.0
> Reporter: Erik Hatcher
> Assignee: Erik Hatcher
> Priority: Minor
> Fix For: 5.3
>
>
> {code}
> $ bin/post -url http://localhost:8983/solr/test/update
> example/films/films.csv
> Collection must be specified. Use -c <collection name> or set
> DEFAULT_SOLR_COLLECTION in your environment.
> {code}
> Of course the collection/core is specified within the -url so -c should be
> unnecessary.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]