[
https://issues.apache.org/jira/browse/SOLR-7832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erik Hatcher resolved SOLR-7832.
--------------------------------
Resolution: Fixed
with this change, this now works:
{code}
bin/post -url http://localhost:8888/solr/tmp/update/json -type application/json
-d '{}'
{code}
rather than requiring -c as well
> 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]