lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noble Paul <noble.p...@gmail.com>
Subject Re: [CONF] Apache Solr Reference Guide > Uploading Data with Index Handlers
Date Mon, 20 Apr 2015 04:59:18 GMT
+1 for making the command smaller

On Sat, Apr 18, 2015 at 11:30 PM, Yonik Seeley <yseeley@gmail.com> wrote:

> On Sat, Apr 18, 2015 at 12:50 AM, Noble Paul <noble.paul@gmail.com> wrote:
> > I find it confusing why a user should be aware of the option
> json.comand=false.
>
> Me too - confusing and somewhat ugly.  Just using a different URL seems
> nicer.
>
> And of course I'm not a fan of our huge redundant curl lines that look
> bigger than the data we are sending.
>
> This
> curl -X POST -H 'Content-Type: application/json'
> 'http://localhost:8983/solr/demo/update/json/docs' --data-binary
>   could be replaced with something half the size:
> curl http://localhost:8983/solr/demo/update/json/docs -d
>
> -Yonik
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>


-- 
-----------------------------------------------------
Noble Paul

Mime
View raw message