You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Chris Hostetter <ho...@fucit.org> on 2010/05/05 04:08:14 UTC

Re: copyField - how does it work?

:    <copyField source="field_A" dest="clubbed_text"/>
:    <copyField source="field_B" dest="clubbed_text"/>
	...
:    <copyField source="clubbed_text" dest="clubbed_string"/>
: 
: Is the copyField valid specified in BLOCK-4?  It seems it is not 
: populating the clubbed_string with the values of field_A and field_B.

copyFields aren't chained together -- supporting that is "hard" and can 
lead to infinite loops, so each copyField src is copied direclty into the 
dest (without checking to see if the "dest" is the src of any other 
copyFields)

: Do I need to populate clubbed_string by explicitly copying field_A and field_B directly to it?

yes.


-Hoss