Hello! You don't have to write custom component - you can use ScriptUpdateProcessor - http://wiki.apache.org/solr/ScriptUpdateProcessor
-- Regards, Rafał Kuć Sematext :: http://sematext.com/ :: Solr - Lucene - ElasticSearch > Hello all , > I am using solr 4.x , I have a requirement where I need to have a field > which holds data from 2 fields concatenated using _. So for example I have 2 > fields firstName and lastName , I want a third field which should hold > firstName_lastName. Is there any existing concatenating component available > or I need to write a custom updateProcessor which does this task. By the way > need for having this third field is that I want to group on the > firstname,lastName but as grouping does not support multiple fields to form > single group I am using this trick. Hope I am clear . > Thanks . > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Concat-2-fields-in-another-field-tp4086786.html > Sent from the Solr - User mailing list archive at Nabble.com.