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/08/03 21:38:04 UTC
[jira] [Resolved] (SOLR-7832) bin/post: do not require or allow -c
when -url is specified
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org