Re: DIH transformer problems

2014-11-04 Thread Alexandre Rafalovitch
On 4 November 2014 10:42, Lemke, Michael ST/HZA-ZSW wrote: > On Tuesday, November 04, 2014 4:07 PM > Alexandre Rafalovitch wrote: >> >>What are you actually trying to do on a business level? > > I am importing a wiki extract and the goal here is to extract the > wiki's language from the filename.

RE: DIH transformer problems

2014-11-04 Thread Lemke, Michael ST/HZA-ZSW
On Tuesday, November 04, 2014 4:07 PM Alexandre Rafalovitch wrote: > >What are you actually trying to do on a business level? I am importing a wiki extract and the goal here is to extract the wiki's language from the filename. The language is also in an attribute within the imported xml but it

Re: DIH transformer problems

2014-11-04 Thread Alexandre Rafalovitch
What are you actually trying to do on a business level? Maybe that's something that can be handled better by sticking an UpdateRequestProcessor chain _after_ DIH? As to your configuration, you have xxCONTENT column definition twice. It might be working, but I think it is non-deterministic. For ila

DIH transformer problems

2014-11-04 Thread Lemke, Michael ST/HZA-ZSW
I am having a little fight with the DataImportHandler and the application of RegexTransformer and TemplateTransformer. A stripped down version of what I try in data-config.xml, which is taken pretty much from the various solr wikis: