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] [Comment Edited] (SOLR-7123) /update/json/docs should have nested document support
Date Tue, 24 Mar 2015 21:16:53 GMT

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

Noble Paul edited comment on SOLR-7123 at 3/24/15 9:16 PM:
-----------------------------------------------------------

I looked at the patch but I do not know what is the new syntax. It does not match the description
of this ticket. If you have changed the syntax , Please provide  detailed documentation on
how the syntax will work with an example

In the patch, JsonLoader does not take care of this new syntax 


was (Author: noble.paul):
I looked at the patch but I do not know what is the new syntax. It does not match the description
of this ticket. If you have changed the syntax , Please provide  detailed documentation on
how the syntax will work with an example

> /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
>              Labels: EaseOfUse
>         Attachments: SOLR-7123.patch
>
>
> It is the next logical step after SOLR-6304
> For the example document given below where the /orgs belong to a nested document, 
> {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