Hi, I'm using solr and I'm starting to index my database. I work for a book seller, but we have a lot of different publications (i.e: different editions from different publishers ) for the same book, and I was wondering if it would be wise to model this "schema" using a hierarchical approach (with nested docs). For example:
{ title: 'The hoobit', author: 'J. R. Tolkien, publications: [{ isbn: 9780007591855, price: 0.99, pages: 200 }, { isbn: 9780007497904, price: 4.00, pages: 230 } ] } And, another question, how can I achieve this with data-import-handler ? I found this: https://issues.apache.org/jira/browse/SOLR-5147 (I'm using solr 5.3) and I was able to index the data, but I cannot retrieve the publications values inside a book. What do you think, guys ? Or is it better to forget about nested documents and get back to the old-fashioned denormalized approach ? Thanks. []'s Rafael