Thanks for the answer Karl.

So I tried and have created a TransformationConnector, extending the BaseTransformationConnector and overriding the addOrReplaceWithException method. In this method I have two calls to activities.sendDocument(), one for the incoming document and another for a fresh new one (not a duplicate of the first). The problem is that when it comes to the second call, the following exception is thrown : "java.lang.IllegalStateException: Document cannot have multiple dispositions". It seems like a transformation connector can only output 1 doc but no more.

Am I missing something ?

Julien

On 19/05/2016 21:14, Karl Wright wrote:
This sounds like it would work.
Karl

Sent from my Windows Phone
From: Julien Massiera
Sent: 5/19/2016 12:44 PM
To:[email protected]
Subject: Multiple output documents from one input document in
transformation connector
Hi ManifoldCF community,

here is my problem : I would like to crawl '.pst' documents with
ManifoldCF and index each email within them into a Solr instance.
I'm thinking to crawl the '.pst' files with a FileSystem repository
connection and then use my custom Transformation connection to extract
the emails and send them for Solr ingestion through the activities object.

Is my approach correct ? or do I need to consider another solution ?

Thanks for your help.

Julien Massiera

Reply via email to