: org.apache.solr.common.SolrException: Document contains multiple values for
: uniqueKey field: uid=[A_1, dc1999fcf12df900]
By the looks of things, your TemplateTransformer is properly creating a 
value of "A_${atest.id}" where "${atest.id} == 1" for that document ... 
the problem seems to be that somehow another value is getting put in your 
uid field containing "dc1999fcf12df900"

Based on your stack trace, i suspect that in addition to having DIH 
create a value for your "uid" field, you also have 
SignatureUpdateProcessorFactory configured (in your solrconfig.xml) to 
generate a synthetic unique id based on the signature of some fields as 
well...

: 
org.apache.solr.update.processor.SignatureUpdateProcessorFactory$SignatureUpdateProcessor.processAdd(SignatureUpdateProcessorFactory.java:194)


-Hoss

Reply via email to