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
: 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
wi
On Tue, Sep 15, 2009 at 2:23 PM, Insight 49, LLC wrote:
> Want to map each sku field to the schema unique id field using update/csv.
You can set the sku field to be the uniqueKey field in the schema. See
http://wiki.apache.org/solr/SchemaXml#head-bec9b4f189d7f493c42f99b479ed0a8d0dd3d76e
for more
Bump. Can anyone help guide me in the right direction?
Want to map each sku field to the schema unique id field using update/csv.
Thanks. Dan.
Insight 49, LLC wrote:
Using http://localhost:8983/solr/update/csv?stream.file, is there any
way to map one of the csv fields to one's schema unique i
Using http://localhost:8983/solr/update/csv?stream.file, is there any
way to map one of the csv fields to one's schema unique id?
e.g. A file with 3 fields (sku, product,price):
http://localhost:8983/solr/update/csv?stream.file=products.csv&stream.contentType=text/plain;charset=utf-8&header=true