manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <>
Subject [jira] [Created] (CONNECTORS-1120) ElasticSearch connector document deletion fails when document already deleted
Date Fri, 12 Dec 2014 14:55:13 GMT
Karl Wright created CONNECTORS-1120:

             Summary: ElasticSearch connector document deletion fails when document already
                 Key: CONNECTORS-1120
             Project: ManifoldCF
          Issue Type: Bug
          Components: Elastic Search connector
    Affects Versions: ManifoldCF 1.7.2
            Reporter: Karl Wright
            Assignee: Karl Wright
             Fix For: ManifoldCF 1.8, ManifoldCF 2.0

This is the exception that is thrown:

ERROR 2014-12-12 14:45:24,915 (Document cleanup thread '2') - Exception tossed: Server/page
not found
org.apache.manifoldcf.core.interfaces.ManifoldCFException: Server/page not found
        at org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchConnection.handleResultCode(
        at org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchDelete.execute(
        at org.apache.manifoldcf.agents.output.elasticsearch.ElasticSearchConnector.removeDocument(
        at org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.removeDocument(
        at org.apache.manifoldcf.agents.incrementalingest.IncrementalIngester.documentDeleteMultiple(

The problem is that a 404 error is returned, and it is treated as fatal by the ES connector,
but that's wrong according to the REST API spec:

This message was sent by Atlassian JIRA

View raw message