Created
February 28, 2014 12:59
-
-
Save vthacker/9270623 to your computer and use it in GitHub Desktop.
JSON Block Join Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"add": [ | |
{ | |
"id": "1", | |
"title": "Solr adds block join support", | |
"content_type": "parentDocument", | |
"_childDocuments_": [ | |
{ | |
"id": "2", | |
"comments": "SolrCloud supports it too!" | |
} | |
] | |
}, | |
{ | |
"id": "3", | |
"title": "Lucene and Solr 4.5 is out", | |
"content_type": "parentDocument", | |
"_childDocuments_": [ | |
{ | |
"id": "4", | |
"comments": "Lots of new features" | |
} | |
] | |
} | |
] | |
} |
yes , can you please share schema.xml and what about if we have two nested docs with diff key name.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Varun,
Could you please explain how to create schema.xml for the above documents?
Thanks,
Naidu