You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2014/01/28 20:03:40 UTC

[jira] [Updated] (SOLR-5183) Add block support for JSONLoader

     [ https://issues.apache.org/jira/browse/SOLR-5183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varun Thacker updated SOLR-5183:
--------------------------------

    Attachment: SOLR-5183.patch

- Takes nested products as an array of childDocs
- There is a nocommit in the patch on what happens when the key "childDoc" is used to add normal data and not nested products.
( How do we validate if the user does not put in a field called _root_ in the document ? )
{noformat}
 childDocs:[
      {
        "id" : "5",
        "subject" : "black"
      },
      {
        "id" : "6",
        "subject" : "red"
      }      
   ]
{noformat}

> 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.7
>
>         Attachments: SOLR-5183.patch, SOLR-5183.patch
>
>
> We should be able to index block documents in JSON format



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

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