Giovanni,

It sounds like you are after a JOIN between two indices a la RDBMS JOIN?  It's 
not possible with Solr, unless you want to do separate queries and manually 
join.  If you are talking about merging multiple indices of the same type into 
a single index, that's a different story and doable, although not yet via Solr.

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch



----- Original Message ----
> From: Giovanni De Stefano <giovanni.destef...@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Wednesday, March 18, 2009 12:56:36 PM
> Subject: Solr multiple indexes
> 
> Hello all,
> 
> here I am with another question :-)
> 
> I have to index the content of two different tables on an Oracle DB.
> 
> When it comes to only one table, everything is fine: one datasource, one
> document, one entity in data-config, one uniqueKey in schema.xml etc. It
> works great.
> 
> But now I have on the same DB (but it might be irrelevant), another table
> with a different structure from the first one: I might merge the two table
> to have a huge document but I don't like this solution (delta imports would
> be a nightmare/impossible, I might have to index data from other sources
> etc).
> 
> I believe I should create MULTIPLE INDEXES and then merge them. I have found
> very little documentations about this: any idea?
> 
> The Multiple Solr Webapps solution seems nice, but how could I search
> globally within all index at the same time?
> 
> The current architecture already expects Multicore Solr (to serve different
> countries) so I would rather not prefer to have multicore multicore Solr...
> :-(
> 
> Any help/link is very much appreciated!
> 
> Cheers,
> Giovanni

Reply via email to