Solr does not support nested documents.  -- wunder

> 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?
> 
> regards,
> 
> Thomas

Reply via email to