As Jayendra said the copy is done @ stream source level while indexing and you can use this to perform the copy of analyzed text from copy fields.
Steps to arrive @ the solution:
1. Configure the fields (source and dest) and its field type accordingly.
- Write a custom update processor and configure this processor in solrconfig.xml
<requestHandler name="/update" class="solr.UpdateRequestHandler"><lst name="defaults">
<str name="update.chain">custom_processor_name</str>
</lst></requestHandler>
A. Look up to this link
B. In the processAdd()
of (A), perform below to obtain the tokenStream for a configured Schema field, analyze and copy the analyzed token stream value into dest field.
Ex:
SchemaField field = req.getSchema().getField(sourceField);
Analyzer anal = sourceField.getType().getAnalyzer();
....
//ToDo: Retrieve tokenStream from source and add it to Destination
....
doc.addField(destFieldToCopy, termBuffer.toString());
To obtain tokenStream check this post