[ 
https://issues.apache.org/jira/browse/SOLR-5183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13748280#comment-13748280
 ] 

Varun Thacker commented on SOLR-5183:
-------------------------------------

Hi Mikhail,

Ideally that would be the best way to represent the child docs.

The reason why I thought of this format was because the way we do single doc 
updates in JSON currently. We use
{code:xml}
{
  "add": {
    "doc" : {
      "id" : "1"
    }
  },
  "add": {
    "doc" : {
      "id" : "2"
    }
   }
}
{code}

Instead of...

{code:xml}
{
  "add": {
    "docs" : [
      { "id" : "1" },
      { "id" : "2" }
    ]
  }
}
{code}
                
> Add block support for JSONLoader
> --------------------------------
>
>                 Key: SOLR-5183
>                 URL: https://issues.apache.org/jira/browse/SOLR-5183
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Varun Thacker
>             Fix For: 4.5, 5.0
>
>         Attachments: SOLR-5183.patch
>
>
> We should be able to index block documents in JSON format

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to