manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Wardrobe (JIRA)" <>
Subject [jira] [Created] (CONNECTORS-1488) Elasticsearch Connector
Date Wed, 17 Jan 2018 00:25:00 GMT
Richard Wardrobe created CONNECTORS-1488:

             Summary: Elasticsearch Connector
                 Key: CONNECTORS-1488
             Project: ManifoldCF
          Issue Type: Bug
          Components: Elastic Search connector
    Affects Versions: ManifoldCF 2.9
         Environment: elasticsearch 6.0.1
            Reporter: Richard Wardrobe

Getting error when trying to index documents into elasticsearch

h1. Content-Type header [application/x-www-form-urlencoded] is not supported


Elasticsearch requires strict content type for rest requests


this was fixed by changing the 

file      return new BasicHeader("Content-type","application/x-www-form-urlencoded");


to return new BasicHeader("Content-type","application/json");


This message was sent by Atlassian JIRA

View raw message