Noble Paul created SOLR-7123:
--------------------------------

             Summary: /update/json/docs should have nested document support
                 Key: SOLR-7123
                 URL: https://issues.apache.org/jira/browse/SOLR-7123
             Project: Solr
          Issue Type: Improvement
            Reporter: Noble Paul
            Assignee: Noble Paul


It is the next logical step after SOLR-6304
For the example document given below
{code}
{
"name": "Joe Smith",
"phone": 876876687
"orgs" :[ {" name" : "Microsoft",
          "city": "Seattle",
          "zip": 98052},
        {"name": “Apple”,
         "city:”Cupertino”,
         "zip":"95014" }
      ]
} 
{code}
The extra mapping parameters would be
{noformat}
child.split=o:/org&
o.f=name&
o.f=city&
o.f=zip
{noformat}
* o is the short name for that child. It is possible to map multiple children 
with multiple shortnames
* In this example all the o.* paths are relative. It is possible to five 
absolute path names such as o.f=/org/name 






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to