If you want to think of Solr in database terms, it has only one table. The
fields in this table have very flexible type definitions. There can be many
optional fields. They also can have various indexes which used together can
search text in useful ways. 

If you want to model multiple tables, you have to denormalize them into one.
The optional fields feature can be useful here.

Lance

-----Original Message-----
From: Ranjeet [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 28, 2008 3:48 AM
To: solr-user@lucene.apache.org
Subject: 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.
> 


Reply via email to