lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Insight 49, LLC" <insigh...@gmail.com>
Subject Re: CSV Update - Need help mapping csv field to schema's ID
Date Wed, 16 Sep 2009 15:15:05 GMT
Darn. I hate when I create work for people.

My need is to take a csv file, use the CSV update handler, but then add 
an additional copyfield (sku from csv to id from schema) to create a 
unique id for each record.

Thanks guys. Terrific work on SOLR.

Dan


Grant Ingersoll wrote:
> 
> On Sep 15, 2009, at 8:25 PM, Yonik Seeley wrote:
> 
>> Darn... I shouldn't trust my memory.
>> From http://issues.apache.org/jira/browse/SOLR-284
>> '''drop "ext." from parameter names, and revisit naming to try and
>> unify with other update handlers like CSV'''
>>
>> So now map.a=b in CSV is for values but map.a=b in SolrCell is for 
>> fields....
>> perhaps we should change map in SolrCell to fmap?
> 
> That's fine by me.  Just update the docs when you're done.
> 
>>
>> My longer range idea was to pull out some generally useful things like
>> field mapping, etc, such that they could be shared across update
>> handlers.
> 
> See also:
>  SOLR-1032, SOLR-1069 for related things.  We should be able to refactor 
> the field mapping code easy enough.
> 

Mime
View raw message