Re: Define Id when using db dih

2015-01-29 Thread Ahmet Arslan
Hi,

You can create one sing uuid : https://wiki.apache.org/solr/UniqueKey

Alternatively, you can combine multiple fields from your table to create a key. 
TemplateTransformer would be handy. It could be done in select statement too.

Ahmet






On Thursday, January 29, 2015 9:27 AM, SolrUser1543  wrote:
Hi,  

I am using data import handler and import data from oracle db. 
I have a problem that the table I am importing from has no one column which
is defined as a key. 
How should I define the key in the data config file ?

Thanks 




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Define-Id-when-using-db-dih-tp4182797.html
Sent from the Solr - User mailing list archive at Nabble.com.


Define Id when using db dih

2015-01-28 Thread SolrUser1543
Hi,  

I am using data import handler and import data from oracle db. 
I have a problem that the table I am importing from has no one column which
is defined as a key. 
How should I define the key in the data config file ?

Thanks 




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Define-Id-when-using-db-dih-tp4182797.html
Sent from the Solr - User mailing list archive at Nabble.com.