[ 
https://issues.apache.org/jira/browse/CONNECTORS-962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14028236#comment-14028236
 ] 

Karl Wright commented on CONNECTORS-962:
----------------------------------------

Hmm, on further reflection, I think building logic into RepositoryDocument to 
hide multiple readers of a stream is a bad idea.

Problem: In a multiple-pipeline scenario, each pipeline must have its own copy 
of RepositoryDocument.
Thus, whenever there is a split, there's an explicit copy anyway.  So, making 
RepositoryDocument "safe" is not really helpful; instead the code should make 
the copy when each split happens, and the RepositoryDocument contract should be 
left alone.


> Support multiple output connections for a single job
> ----------------------------------------------------
>
>                 Key: CONNECTORS-962
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-962
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Framework crawler agent
>    Affects Versions: ManifoldCF 1.7
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.7
>
>
> Zaizi has a requirement to support multiple outputs for a single job.  In 
> theory this requirement can be met by doing the following:
> - Allow multiple output connections, and multiple pipelines, per job
> - Keep a distinct ingeststatus record for each document/output combination
> - Modify WorkerThread to call IncrementalIndexer multiple times for every 
> document fetched
> Places where different things need to happen are:
> - RepositoryDocument - because one binary stream will not do for multiple 
> outputs
> - UI, obviously, because there will need to be multiple pipelines, not just 
> one, and in addition it would be probably important to be able to "split" the 
> pipeline at arbitrary points



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to