You can have a file with 1,2,3 on separate lines. There is a
line-by-line file reader that can pull these as separate drivers.
Inside that entity the JDBC url has to be altered with the incoming
numbers. I don't know if this will work.

It also may work for single-threaded DIH but not during multiple
threads. (Ignore this for Solr 1.4, you have no threads feature.)

On Sat, Dec 18, 2010 at 6:20 PM, Andy <angelf...@yahoo.com> wrote:
> I have a table that is broken up into many virtual shards. So basically I 
> have N identical tables:
>
> Document1
> Document2
> .
> .
> Document36
>
> Currently these tables all live in the same database, but in the future they 
> may be moved to different servers to scale out if the needs arise.
>
> Is there any way to configure a DIH for these tables so that it will 
> automatically loop through the 36 identical tables and pull data out for 
> indexing?
>
> Something like (pseudo code):
>
> for (i = 1; i <= 36; i++) {
>   ## retrieve data from the table Document{$i} & index the data
> }
>
> What's the best way to handle a situation like this?
>
> Thanks
>
>
>
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to