Thank you Shawn, indeed 4.7 :)
I tried this approach with default value and it doesn't seem to work. I have
my destination field defined as multiValued and I copy from one source with
default value and some other source field. Default value does not seem to
copy from source field to destination. I also tried setting default value to
destination field directly but that one gets overwritten by another
copyField. 

Here is relevant part of schema:

<field name="begin_prox_token" default="BEGINPROXTOKEN" type="string"
indexed="false" stored="false" multiValued="false"/>    
<field name="name_prox" type="wc_text" indexed="true" stored="true" 
multiValued="true"/>

<copyField source="begin_prox_token" dest="name_prox"/>
<copyField source="name" dest="name_prox"/>

Is there anything suspicious ?? I also tried setting begin_prox_token field
as indexed but did not help. I would also expect that default values should
be copied. Thank you



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Copy-fields-and-appending-of-values-tp4222706p4222918.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to