I tried to use copyField like a chain but it doesn't seems to work. Here my example:
<copyField source="allfields" dest="metafields1" />
<copyField source="metafields1" dest="metafields2" />
<copyField source="metafields2" dest="metafields3" />
Each field uses a different fieldType.
The problem is that except of allfields and metafields1 the other have no content after indexing. Is solr unable to copy from another copyField? I use solr 3.5.
Documentation @ http://wiki.apache.org/solr/SchemaXml#Copy_Fields
The copy is done at the stream source level and no copy feeds into another copy.
Having a copyfield as the source of copyfield tag does not work.
The copyfield source must be an actual field, which has some value and does no cascade.
You can also check http://lucene.472066.n3.nabble.com/does-copyField-recurse-td2450208.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With