Am 19.05.2014 08:38, schrieb Walter underwood:
Solr does not support nested documents. -- wunder
It does since 4.5: http://lucene.apache.org/solr/4_5_0/solr-solrj/org/apache/solr/common/SolrInputDocument.html#addChildDocuments(java.util.Collection) But this feature is rather poor documented and has some caveats: http://blog.griddynamics.com/2013/09/solr-block-join-support.html regards, Thomas
On May 18, 2014, at 11:36 PM, Thomas Scheffler <thomas.scheff...@uni-jena.de> wrote: Hi, I plan to use nested documents to group some of my fields <doc> <field name="id">art0001</field> <field name="title">My first article</field> <doc> <field name="id">art0001-foo</field> <field name="name">Smith, John</field> <field name="role">author</field> </doc> <doc> <field name="id">art0001-bar</field> <field name="name">Power, Max</field> <field name="role">reviewer</field> </doc> </doc> This way can ask for any documents that are reviewed by Max Power. However to simplify update and deletes I want to ensure that nested documents are deleted automatically on update and delete of the parent document. Does anyone had to deal with this problem and found a solution?