apache / incubator-ponymail

Apache Pony Mail (Incubating) - Email for Ponies & People
http://ponymail.incubator.apache.org/
Other
80 stars 30 forks source link

Fix http query Content-Type header #526

Closed arkanovicz closed 3 years ago

arkanovicz commented 3 years ago

Against a recent version of ElasticSearch (7.9.3), I had to fix Ponymail http queries to add the proper Content-Type: application/json header.

arkanovicz commented 3 years ago

Here is the trace of the HTTP exchange without this patch:

arkanovicz commented 3 years ago

Hum... and there seems to be more problems further in the definition of the mappings, see removal of types in 7+.

Since the needed reenginering requires some design choices (several indices or a custom type field?), I'll revert my setup to a 5.x ES version. But I'd be glad to help if needed.

Humbedooh commented 3 years ago

This version of pony mail is only guaranteed to work with 5.x and below. For 6/7/8.x, we're working on a new bundle called Foal - https://github.com/apache/incubator-ponymail-foal . Should be ready for use soon.

arkanovicz commented 3 years ago

Ah ah, I'll stop submitting PR here, then! Nice to know.