nested data structure definition
Hi, Can we defined nested data structure in schema.xml for searching? is it prossible or not? Thanks Regards, Ranjeet Jha
Re: nested data structure definition
Hi Ranjeet, Solr supports multi-valued fields and you can always denormalize your data. Can you give more details on the problem you are trying to solve? On Mon, Jul 28, 2008 at 3:20 PM, Ranjeet [EMAIL PROTECTED]wrote: Hi, Can we defined nested data structure in schema.xml for searching? is it prossible or not? Thanks Regards, Ranjeet Jha -- Regards, Shalin Shekhar Mangar.
Re: nested data structure definition
Hi, In our case there is Category object under Catalog object, so I do not want to defined the data structure for the Category. I want to give the reference of Category uder Catalog, how can I do this. Regards, Ranjeet - Original Message - From: Shalin Shekhar Mangar [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Monday, July 28, 2008 3:55 PM Subject: Re: nested data structure definition Hi Ranjeet, Solr supports multi-valued fields and you can always denormalize your data. Can you give more details on the problem you are trying to solve? On Mon, Jul 28, 2008 at 3:20 PM, Ranjeet [EMAIL PROTECTED]wrote: Hi, Can we defined nested data structure in schema.xml for searching? is it prossible or not? Thanks Regards, Ranjeet Jha -- Regards, Shalin Shekhar Mangar.
Re: nested data structure definition
Hi, In Solr there is no hierarchy of objects. De-normalize everything into one schema using multi-valued fields where applicable. Decide on what the document should be. What do you want to return as individual results -- are they catalogs or categories? You can get more help if you give an example of what you are trying to achieve. On Mon, Jul 28, 2008 at 4:18 PM, Ranjeet [EMAIL PROTECTED]wrote: Hi, In our case there is Category object under Catalog object, so I do not want to defined the data structure for the Category. I want to give the reference of Category uder Catalog, how can I do this. Regards, Ranjeet - Original Message - From: Shalin Shekhar Mangar [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Monday, July 28, 2008 3:55 PM Subject: Re: nested data structure definition Hi Ranjeet, Solr supports multi-valued fields and you can always denormalize your data. Can you give more details on the problem you are trying to solve? On Mon, Jul 28, 2008 at 3:20 PM, Ranjeet [EMAIL PROTECTED] wrote: Hi, Can we defined nested data structure in schema.xml for searching? is it prossible or not? Thanks Regards, Ranjeet Jha -- Regards, Shalin Shekhar Mangar. -- Regards, Shalin Shekhar Mangar.