Hi Michael, As I can see there are two directions how to do that: 1) store all package data in product documents 2) have separate documents for packages
In reality there are lots of packages for every product. So if I make document for every combination product+package I'll get lots of documents that are same products and have just few fields (concerning package) different. If I merge data into one document type, I'll also have problems with updating... For package changes I need to find out what products are changing because of package change and update them. If I use separate documents for packages and products updating is simple, but I'm not sure is it possible to return package data combined with product data. Ivan -- View this message in context: http://lucene.472066.n3.nabble.com/Many-one-to-many-relationship-problems-tp4042700p4042758.html Sent from the Solr - User mailing list archive at Nabble.com.