If you're using DataImportHandler than this can easily be done with a TemplateTranformer. Otherwise, if you really must do it in Solr you can write your own custom UpdateProcessor and plug it in:

DIH TemplateTransformer: http://wiki.apache.org/solr/DataImportHandler#TemplateTransformer
Update Processors: http://wiki.apache.org/solr/UpdateRequestProcessor

Cheers,
Uri

Koji Sekiguchi wrote:
Pradeep Pujari wrote:
how can I specify uniqueKey value in schema.xml as a concatenation of 3
columns. Like prod_id+attr_name+att_value?

Thanks,
Pradeep

Solr doesn't support it. You should concatenate them at client.

Koji

Reply via email to