Monday, September 19, 2011

Compound primary key for Solr's Data Import Handler (DIH)

If you ever find yourself with a datasource where you need to concatenate multiple columns or values to form the primary or unique key ... but hasn't been already done for you ... then you can do so on-the-fly with Solr's DIH using the TemplateTransformer like so:

0 comments:

Post a Comment