manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Connectors Framework > How to Write an Output Connector
Date Fri, 15 Oct 2010 23:34:00 GMT
Space: Apache Connectors Framework (
Page: How to Write an Output Connector (

Comment added by Karl Wright:

addOrReplaceDocument is only called when a document is indexed.  But if your code throws an
exception, the framework code will repeat the process.  I suggest you check the output log
to see the exception.

In reply to a comment by Farzad:
I got an error trying to unregister, I posted that under "How to build and deploy ManifoldCF"
where it talks about issuing commands.

I got around the problem by dropping the table and doing a clean build.  Now the table is
created, however it is empty, no rows.  dataManager.insertData is getting called inside addOrReplaceDocument.

The job status says Documents=9, Active=6, and Processed=9 and the job doesn't end. I am returning
DOCUMENTSTATUS_ACCEPTED.  I start the job manually.

I traced the calls and I see where deinstall and install are called initially.  When I start
the job, for some reason addOrReplaceDocument is called 45 times, and getOutputDescription
is called 48 times.  I only have 9 docs, why so many times?

Change your notification preferences:

View raw message