You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Noble Paul (JIRA)" <ji...@apache.org> on 2015/02/18 13:26:11 UTC
[jira] [Created] (SOLR-7123) /update/json/docs should have nested
document support
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