Re: Dinamic field name with Data import handler

2009-10-27 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Thu, Oct 22, 2009 at 7:51 PM, Renata Mota wrote: > Hi, > > > > I’m trying to give dynamic names for a field with data import handler, but i > don’t get. > > > > Example: > > > > > > hey, this is supposed to work. is it because there is a space in the name attribute ? > > > > > > It’s possi

RE: Dinamic field name with Data import handler

2009-10-23 Thread Renata Mota
Yes, this was the problem. Thanks, -Original Message- From: noble.p...@gmail.com [mailto:noble.p...@gmail.com] On Behalf Of Noble Paul ??? ?? Sent: Friday, October 23, 2009 10:53 AM To: solr-dev@lucene.apache.org Subject: Re: Dinamic field name with Data import handler try

Re: Dinamic field name with Data import handler

2009-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
 function f1(row)        { >                            row.put('id', 'Test'); >                            return row; >                        } >                ]]> >         >         >     > > > > -Original Message- > From: noble.p...@gmail.com [mailto

RE: Dinamic field name with Data import handler

2009-10-23 Thread Renata Mota
-Original Message- From: noble.p...@gmail.com [mailto:noble.p...@gmail.com] On Behalf Of Noble Paul ??? ?? Sent: Friday, October 23, 2009 10:36 AM To: solr-dev@lucene.apache.org Subject: Re: Dinamic field name with Data import handler could you paste your dataconfig.xml? On Fr

Re: Dinamic field name with Data import handler

2009-10-23 Thread Noble Paul നോബിള്‍ नोब्ळ्
could you paste your dataconfig.xml? On Fri, Oct 23, 2009 at 5:48 PM, Renata Mota wrote: > Ok, thanks Noble Paul. > > But, now, i am trying to use ScriptTransformer (where, we must use Java6, > and i am), but is happening the error below, I tried to use in different > servers, both use java6 and s

RE: Dinamic field name with Data import handler

2009-10-23 Thread Renata Mota
Ok, thanks Noble Paul. But, now, i am trying to use ScriptTransformer (where, we must use Java6, and i am), but is happening the error below, I tried to use in different servers, both use java6 and same error: SEVERE: Exception while processing: index document : SolrInputDocumnt[{}] org.apache.so

Re: Dinamic field name with Data import handler

2009-10-22 Thread Noble Paul നോബിള്‍ नोब्ळ्
not like this. column and name cannot support templates. But you can use a Transformer to add new fields . you may write a simple javascript to do so. http://wiki.apache.org/solr/DataImportHandler#ScriptTransformer On Thu, Oct 22, 2009 at 7:51 PM, Renata Mota wrote: > Hi, > > > > I’m trying to g

Dinamic field name with Data import handler

2009-10-22 Thread Renata Mota
Hi, I’m trying to give dynamic names for a field with data import handler, but i don’t get. Example: It’s possible to do something like this? Thanks, Renata Gonçalves Mota renata.m...@accurate.com.br Tel.: 55 11 3522-7723 R.3