lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-7123) /update/json/docs should have nested document support
Date Wed, 18 Feb 2015 12:26:11 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message