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

Karl Wright commented on CONNECTORS-916:
----------------------------------------

Hi Takumi,

bq. wow! that's sounds great!

I will look at adding a UI over the next few days, then.

bq.  I thought, in all of these exception case, connector should reject the 
document and process next one. what is the difference between document 
rejection, throwing ServiceInterruption exception and ManifoldCFException?

Return DOCUMENTSTATUS_REJECTED if you want to skip the document and not try it 
again.
Throw ServiceInterruption if the problem with the document is likely to be 
transient, and the indexing may succeed if tried again in the future.  There 
are other parameters in the exception that you can set, controlling how often 
and how many times to retry, and what to do if the document still fails after 
that time.
Throw ManifoldCFException if the problem is serious enough that the job should 
be immediately aborted.




> Amazon CloudSearch output connector
> -----------------------------------
>
>                 Key: CONNECTORS-916
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-916
>             Project: ManifoldCF
>          Issue Type: New Feature
>          Components: Amazon CloudSearch output connector
>    Affects Versions: ManifoldCF 1.7
>            Reporter: Takumi Yoshida
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 1.7
>
>         Attachments: 1.patch, 2.diff
>
>
> I wrote some codes snipetts of output connector for Amazon CloudSearch.
> I would like you to review my code. You can crawl web site and feed HTML page 
> to Amazon CloudSearch.
> but it is not perfectly completed followoing reason.
> - does not write any codes for configuration page.
> - supporting file type is only HTML
> Thank you for your time,
>  Takumi Yoshida



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

Reply via email to