Thanks guys...

Yonik and Grant commented on this thread in the dev group.

Dan

Chris Hostetter wrote:
: I would like to add an additional name:value pair for every line, mapping the
: sku field to my schema's id field:
: : .map={sku.field}:{id}

the map param is for replacing a *value* with a different' value ... it's useful for things like numeric codes in CSV files that you want to replace with strings in your index.

: I would prefer NOT to change the schema by adding a <copyField source="sku"
: dest="id"/>.

that's the only solution i can think of unless you want to write an UpdateProcessor.


-Hoss


Reply via email to