Hi Julio, Entities are nested when they have parent-child relationships as in a SQL Join. For example, if your product has categories, you will create an entity for products and a child entity for categories. However, if your entities are totally independent of each other, then you can keep them all at the same level. Remember that the number of documents created in Solr will be equal to the sum of number of rows for each root-level entity.
On Thu, May 22, 2008 at 10:28 AM, Julio Castillo <[EMAIL PROTECTED]> wrote: > I'm trying to configure a document config file using the example > data-config.xml mentioned in the wiki. > > One question I have is when to nest the entity tags/nodes in the xml file? > The proposed example has them nested as > <document> > <entity> > <entity> > </entity> > <entity> > </entity> > </entity> > </document> > > Why didn't the example had a flatter organization? > <document> > <entity> > </entity> > <entity> > </entity> > ... > </document> > > Julio Castillo > Edgenuity Inc. > > -- Regards, Shalin Shekhar Mangar.