Hello Lee,

Unfortunately no. It's possible to read csv field by
http://wiki.apache.org/solr/DataImportHandler#FieldReaderDataSource but
there is no csv like EntityProcessor, which can broke line on entities.
Transformers can not emit new entities.


On Wed, Aug 7, 2013 at 8:10 PM, Lee Carroll <lee.a.carr...@googlemail.com>wrote:

> Hi
>
> I've 2 tables with the following data
>
> table 1
> id treatment_list
> 1 a,b
> 2 b,c
>
> table 2
> treatment id, name
> a                  name1
> b                  name 2
> c                  name 3
>
> Using DIH can you create an index of the form
>
> id-treatment-id name
> 1a                  name1
> 1b                  name2
> 2b                  name2
> 2c                  name3
>
> In short can I splt the comma separated field and process each as an
> entity. From the docs and the wiki I can't see anything obvious.
>
> I feel I'm missing something easier here. (Note its not my data so can't do
> anything with the dodgy csv field )
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
 <mkhlud...@griddynamics.com>

Reply via email to