On 04/12/2012, Spadez <james_will...@hotmail.com> wrote:
> I have two databases (unfortunately they do have to be separate) which get
> imported into Solr.
>
> Each database has a primary key for each time but I am concerned that when
> it comes to importing the two into SOLR there will be more than one item
> with the same ID (one from each DB).
>
> Therefore, in order to keep two separate databases with two different
> uniqueIDs, I was wondering what kind of options I have.
>
> Should I append a letter to the primary key of one DB. Is this even
> possible?

Yes, that sounds like a good plan. You can add this unique string in the
select, or use a simple script transformer for that.

Regards,
Gora

Reply via email to