You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/08/02 20:43:12 UTC
[jira] [Commented] (SOLR-6294) The JsonLoader should accept a
single doc without wrapping in an array
[ https://issues.apache.org/jira/browse/SOLR-6294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14083659#comment-14083659 ]
ASF subversion and git services commented on SOLR-6294:
-------------------------------------------------------
Commit 1615345 from [~noble.paul] in branch 'dev/trunk'
[ https://svn.apache.org/r1615345 ]
SOLR-6294 ,SOLR-6302
> The JsonLoader should accept a single doc without wrapping in an array
> ----------------------------------------------------------------------
>
> Key: SOLR-6294
> URL: https://issues.apache.org/jira/browse/SOLR-6294
> Project: Solr
> Issue Type: Bug
> Components: update
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Minor
> Attachments: SOLR-6294-6304.patch
>
>
> This is the multi document input command
> {noformat}
> curl http://localhost:8983/solr/update/json -H 'Content-type:application/json' -d '
> [
> {"id" : "TestDoc1", "title" : "test1"},
> ]'
> {noformat}
> The following also should be a valid update command for a single doc
> {noformat}
> curl http://localhost:8983/solr/update/json -H 'Content-type:application/json' -d '
> {"id" : "TestDoc1", "title" : "test1"},
> '
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org