Description of problem: Dovecot as provided by repos does not work fts_solr for solr versions >= 5.1. These versions of solr don't allow GET /select queries with Content-Type header set.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install and configure Solr 6
2. Install and configure dovecot with fts_solr plugin enabled
3. Perform a search
indexer-worker(email@example.com): Error: fts_solr: Lookup failed: Bad
Additional info: Patch was posted to the dovecot mailing list on 2015-09-27.
--- dovecot-2.2.18/src/plugins/fts-solr/solr-connection.c 2015-05-13 17:14:45.000000000 +0300
+++ dovecot-2.2.18.patch/src/plugins/fts-solr/solr-connection.c 2015-09-27 19:47:40.363843359 +0300
@@ -432,7 +432,6 @@
- http_client_request_add_header(http_req, "Content-Type", "text/xml");
conn->request_status = 0;
This was rolled in at 2.2.19 I believe.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.