Good point, I was thinking that I could do a:
return activities.sendDocument(documentURI,docCopy);

For each row of the XML or JSON.



________________________________
From: julien.massi...@francelabs.com <julien.massi...@francelabs.com>
Sent: Wednesday, July 8, 2020 9:45 AM
To: dev@manifoldcf.apache.org <dev@manifoldcf.apache.org>
Subject: RE: Document Splitter

Hi Michael,

if I am not wrong (and that Karl confirms), what you want to do is not possible 
in a transformation connector. A transformation connector cannot transform 1 
incoming document into several ones. The only way to do that is in a repository 
connector but it would then be bound to the type of the repo source.

Regards,
Julien

-----Message d'origine-----
De : Karl Wright <daddy...@gmail.com>
Envoyé : mercredi 8 juillet 2020 16:16
À : dev <dev@manifoldcf.apache.org>
Objet : Re: Document Splitter

Not that I know of.  But I'll let others answer as to what they may have 
written.
Karl


On Tue, Jul 7, 2020 at 7:38 PM Michael Cizmar <mich...@michaelcizmar.com>
wrote:

> I have a Json file which has an array of objects that I want to index
> as separate documents.  Before I build a transformer to split it, is
> there a ready made transformer to do this?
>
> Thanks!
>
> Michael
>

Reply via email to