Hi all,

thanks for your replies. I have managed to do this by writing custom
updateprocessor and configured it as bellow 

<processor
class="com.test.solr.update.CustomConcatFieldUpdateprocessorFactory">
                 <str name="field">firstName</str>
                 <str name="field">lastName</str>
                  <str name="dest">fullName</str>
                 <str name="delimiter">_</str>
</processor>.

Federico Chiacchiaretta , I have tried the option mentioned by you but on
frequent update of the document it keeps on adding the value multiple times
which I don't want . In my custom component I checked for existing value and
if its empty then I have updated it by fN_lN. 

Thanks a lot for quick replies.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Concat-2-fields-in-another-field-tp4086786p4086934.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to