Blargy wrote:
Is there anyway to instruct copy field overwrite an existing field, or only
accept the first one?

  <copyField source="source1" dest="dest"/>
  <copyField source="source2" dest="dest"/>

Basically I'm want to copy source1 to dest (if it exists). If source1 doesnt
exist then copy source2 into dest.

Is this possible?
You cannot do it out-of-the-box. But you can
implement custome update processor to do it:

http://wiki.apache.org/solr/UpdateRequestProcessor

Koji

--
http://www.rondhuit.com/en/

Reply via email to