On Thu, 29 Jul 2010 15:33:42 -0400
S Ahmed <sahmed1...@gmail.com> wrote:

> I understand (and its straightforward) when you want to create a
> index for something simple like Products.
> 
> But how do you go about creating a Solr index when you have data
> coming from 10-15 database tables, and the tables have unrelated
> data?
> 
> The issue is then you would have many 'columns' in your index,
> and they will be NULL for much of the data since you are trying
> to shove 15 db tables into a single Solr/Lucense index.
[...]

This should not be a problem. With the Solr DataImportHandler, any
NULL values for a given record will simply be ignored, i.e., the
Solr index for that document will not contain an entry for that
field.

Regards,
Gora

Reply via email to