Displaying 20 results from an estimated 21 matches for "solr_http_client".
2020 Sep 02
2
Indexer error after upgrade to 2.3.11.3
...100644
--- a/src/plugins/fts-solr/solr-connection.c
+++ b/src/plugins/fts-solr/solr-connection.c
@@ -103,7 +103,7 @@ int solr_connection_init(const struct
fts_solr_settings *solr_set,
http_set.ssl = ssl_client_set;
http_set.debug = solr_set->debug;
http_set.rawlog_dir = solr_set->rawlog_dir;
-solr_http_client = http_client_init(&http_set);
+solr_http_client = http_client_init_private(&http_set);
}
*conn_r = conn;
diff --git a/src/plugins/fts/fts-parser-tika.c
b/src/plugins/fts/fts-parser-tika.c
index
a4b8b5c3034f57e22e77caa759c090da6b62f8ba..b8b57a350b9a710d101ac7ccbcc14560d415d905
100644
--- a...
2020 Sep 02
1
Indexer error after upgrade to 2.3.11.3
...ction.c
> +++ b/src/plugins/fts-solr/solr-connection.c
> @@ -103,7 +103,7 @@ int solr_connection_init(const struct fts_solr_settings *solr_set,
> http_set.ssl = ssl_client_set;
> http_set.debug = solr_set->debug;
> http_set.rawlog_dir = solr_set->rawlog_dir;
> - solr_http_client = http_client_init(&http_set);
> + solr_http_client = http_client_init_private(&http_set);
> }
>
> *conn_r = conn;
> diff --git a/src/plugins/fts/fts-parser-tika.c b/src/plugins/fts/fts-parser-tika.c
> index a4b8b5c3034f57e22e77caa759c090da6b62f8ba..b8b57a350b9a710d...
2020 Sep 02
1
Indexer error after upgrade to 2.3.11.3
...olr-connection.c
> +++ b/src/plugins/fts-solr/solr-connection.c
> @@ -103,7 +103,7 @@ int solr_connection_init(const struct
> fts_solr_settings *solr_set,
> http_set.ssl = ssl_client_set;
> http_set.debug = solr_set->debug;
> http_set.rawlog_dir = solr_set->rawlog_dir;
> -solr_http_client = http_client_init(&http_set);
> +solr_http_client = http_client_init_private(&http_set);
> }
>
> *conn_r = conn;
> diff --git a/src/plugins/fts/fts-parser-tika.c
> b/src/plugins/fts/fts-parser-tika.c
> index
>
a4b8b5c3034f57e22e77caa759c090da6b62f8ba..b8b57a350b9a7...
2020 Aug 19
7
Indexer error after upgrade to 2.3.11.3
Hi,
after the upgrade to Dovecot 2.3.11.3, from 2.3.10.1, I see frequently
these errors from different users:
Aug 18 11:02:35 Panic: indexer-worker(info at domain.com)
session=<g71KISOttvS5LNVj:O3ahCyuZO18cYAAAEPCW+w>: file
http-client-request.c: line 1232 (http_client_request_send_more):
assertion failed: (req->payload_input != NULL)
Aug 18 11:02:35 Error: indexer-worker(info at
2020 Oct 16
2
Indexer error after upgrade to 2.3.11.3
...ction.c
> +++ b/src/plugins/fts-solr/solr-connection.c
> @@ -103,7 +103,7 @@ int solr_connection_init(const struct fts_solr_settings *solr_set,
> http_set.ssl = ssl_client_set;
> http_set.debug = solr_set->debug;
> http_set.rawlog_dir = solr_set->rawlog_dir;
> - solr_http_client = http_client_init(&http_set);
> + solr_http_client = http_client_init_private(&http_set);
> }
>
> *conn_r = conn;
> diff --git a/src/plugins/fts/fts-parser-tika.c b/src/plugins/fts/fts-parser-tika.c
> index a4b8b5c3034f57e22e77caa759c090da6b62f8ba..b8b57a350b9a710d...
2020 Oct 16
2
Indexer error after upgrade to 2.3.11.3
...solr-connection.c
>> @@ -103,7 +103,7 @@ int solr_connection_init(const struct fts_solr_settings *solr_set,
>> http_set.ssl = ssl_client_set;
>> http_set.debug = solr_set->debug;
>> http_set.rawlog_dir = solr_set->rawlog_dir;
>> - solr_http_client = http_client_init(&http_set);
>> + solr_http_client = http_client_init_private(&http_set);
>> }
>> *conn_r = conn;
>> diff --git a/src/plugins/fts/fts-parser-tika.c b/src/plugins/fts/fts-parser-tika.c
>> index a4b8b5c3034f57e22e77caa...
2020 Aug 19
0
Indexer error after upgrade to 2.3.11.3
...a/src/plugins/fts-solr/solr-connection.c
+++ b/src/plugins/fts-solr/solr-connection.c
@@ -103,7 +103,7 @@ int solr_connection_init(const struct fts_solr_settings *solr_set,
http_set.ssl = ssl_client_set;
http_set.debug = solr_set->debug;
http_set.rawlog_dir = solr_set->rawlog_dir;
- solr_http_client = http_client_init(&http_set);
+ solr_http_client = http_client_init_private(&http_set);
}
*conn_r = conn;
diff --git a/src/plugins/fts/fts-parser-tika.c b/src/plugins/fts/fts-parser-tika.c
index a4b8b5c3034f57e22e77caa759c090da6b62f8ba..b8b57a350b9a710d101ac7ccbcc14560d415d905 100644...
2020 Sep 02
0
Indexer error after upgrade to 2.3.11.3
...olr-connection.c
> +++ b/src/plugins/fts-solr/solr-connection.c
> @@ -103,7 +103,7 @@ int solr_connection_init(const struct
> fts_solr_settings *solr_set,
> http_set.ssl = ssl_client_set;
> http_set.debug = solr_set->debug;
> http_set.rawlog_dir = solr_set->rawlog_dir;
> -solr_http_client = http_client_init(&http_set);
> +solr_http_client = http_client_init_private(&http_set);
> }
>
> *conn_r = conn;
> diff --git a/src/plugins/fts/fts-parser-tika.c
> b/src/plugins/fts/fts-parser-tika.c
> index
> a4b8b5c3034f57e22e77caa759c090da6b62f8ba..b8b57a350b9a7...
2019 Jan 02
5
doveadm index crash/assert
https://www.lerctr.org/~ler/dovecot/doveadm-index-fts-debug.txt
https://www.lerctr.org/~ler/dovecot/doveadm-index-fts-bt.txt
I wish there was a way to set plugins {fts_solr = <blah>} from the command
line :(
but I turned it on globally for that run.
On Wed, Jan 2, 2019 at 3:40 PM Stephan Bosch <stephan at rename-it.nl> wrote:
> Oh, d'oh. I was looking for some solr debug
2020 Oct 21
2
Indexer error after upgrade to 2.3.11.3
...@@ -103,7 +103,7 @@ int solr_connection_init(const struct fts_solr_settings *solr_set,
>>>> http_set.ssl = ssl_client_set;
>>>> http_set.debug = solr_set->debug;
>>>> http_set.rawlog_dir = solr_set->rawlog_dir;
>>>> - solr_http_client = http_client_init(&http_set);
>>>> + solr_http_client = http_client_init_private(&http_set);
>>>> }
>>>> *conn_r = conn;
>>>> diff --git a/src/plugins/fts/fts-parser-tika.c b/src/plugins/fts/fts-parser-tika.c
>>>...
2019 Jan 02
0
doveadm index crash/assert
...s/fts-solr/solr-connection.c
+++ b/src/plugins/fts-solr/solr-connection.c
@@ -156,7 +156,7 @@ int solr_connection_init(const char *url,
??????????????? http_set.request_timeout_msecs = 60*1000;
??????????????? http_set.ssl = ssl_client_set;
??????????????? http_set.debug = debug;
-?????????????? solr_http_client = http_client_init(&http_set);
+?????????????? solr_http_client = http_client_init_private(&http_set);
??????? }
??????? conn->xml_parser = XML_ParserCreate("UTF-8");
diff --git a/src/plugins/fts/fts-parser-tika.c
b/src/plugins/fts/fts-parser-tika.c
index a4b8b5c30..b8b57a3...
2020 Oct 16
0
Indexer error after upgrade to 2.3.11.3
...100644 --- a/src/plugins/fts-solr/solr-connection.c +++
b/src/plugins/fts-solr/solr-connection.c @@ -103,7 +103,7 @@ int
solr_connection_init(const struct fts_solr_settings *solr_set,
http_set.ssl = ssl_client_set; http_set.debug = solr_set->debug;
http_set.rawlog_dir = solr_set->rawlog_dir; -solr_http_client =
http_client_init(&http_set); +solr_http_client =
http_client_init_private(&http_set); } *conn_r = conn; diff --git
a/src/plugins/fts/fts-parser-tika.c
b/src/plugins/fts/fts-parser-tika.c index
a4b8b5c3034f57e22e77caa759c090da6b62f8ba..b8b57a350b9a710d101ac7ccbcc14560d415d905
100644 --- a/...
2020 Oct 27
3
Indexer error after upgrade to 2.3.11.3 [trial patch]
...onnection_init(const struct fts_solr_settings *solr_set,
>>>>>> http_set.ssl = ssl_client_set;
>>>>>> http_set.debug = solr_set->debug;
>>>>>> http_set.rawlog_dir = solr_set->rawlog_dir;
>>>>>> - solr_http_client = http_client_init(&http_set);
>>>>>> + solr_http_client = http_client_init_private(&http_set);
>>>>>> }
>>>>>> *conn_r = conn;
>>>>>> diff --git a/src/plugins/fts/fts-parser-tika.c b/src/plugins/ft...
2020 Nov 15
0
[patch] enhancement for tika server protected by user/password basic auth
...a/src/plugins/fts-solr/solr-connection.c
+++ b/src/plugins/fts-solr/solr-connection.c
@@ -103,7 +103,7 @@ int solr_connection_init(const struct fts_solr_settings *solr_set,
http_set.ssl = ssl_client_set;
http_set.debug = solr_set->debug;
http_set.rawlog_dir = solr_set->rawlog_dir;
- solr_http_client = http_client_init(&http_set);
+ solr_http_client = http_client_init_private(&http_set);
}
*conn_r = conn;
diff --git a/src/plugins/fts/fts-parser-tika.c b/src/plugins/fts/fts-parser-tika.c
index a4b8b5c3034f57e22e77caa759c090da6b62f8ba..b8b57a350b9a710d101ac7ccbcc14560d415d905 100644...
2020 Oct 21
0
Indexer error after upgrade to 2.3.11.3
...t;>> @@ -103,7 +103,7 @@ int solr_connection_init(const struct fts_solr_settings *solr_set,
>>> http_set.ssl = ssl_client_set;
>>> http_set.debug = solr_set->debug;
>>> http_set.rawlog_dir = solr_set->rawlog_dir;
>>> - solr_http_client = http_client_init(&http_set);
>>> + solr_http_client = http_client_init_private(&http_set);
>>> }
>>> *conn_r = conn;
>>> diff --git a/src/plugins/fts/fts-parser-tika.c b/src/plugins/fts/fts-parser-tika.c
>>> index a4b...
2020 Sep 07
2
Indexer error after upgrade to 2.3.11.3
...TC
+++ src/plugins/fts-solr/solr-connection.c
@@ -103,7 +103,7 @@ int solr_connection_init(const struct
fts_solr_setting
? ? ? ? ? ? ? ? http_set.ssl = ssl_client_set;
? ? ? ? ? ? ? ? http_set.debug = solr_set->debug;
? ? ? ? ? ? ? ? http_set.rawlog_dir = solr_set->rawlog_dir;
-? ? ? ? ? ? ? ?solr_http_client =
http_client_init(&http_set);
+? ? ? ? ? ? ? ?solr_http_client =
http_client_init_private(&http_set);
? ? ? ? }
? ? ? ? *conn_r = conn;
/usr gets changed to ${LOCALBASE} in post-patch:, so we
cheat and set xpdf's path to /usr/lib.
--- src/plugins/fts/decode2text.sh.orig 2017-10-28...
2020 Oct 22
0
Indexer error after upgrade to 2.3.11.3
...,7 @@ int solr_connection_init(const struct fts_solr_settings *solr_set,
>>>>> http_set.ssl = ssl_client_set;
>>>>> http_set.debug = solr_set->debug;
>>>>> http_set.rawlog_dir = solr_set->rawlog_dir;
>>>>> - solr_http_client = http_client_init(&http_set);
>>>>> + solr_http_client = http_client_init_private(&http_set);
>>>>> }
>>>>> *conn_r = conn;
>>>>> diff --git a/src/plugins/fts/fts-parser-tika.c b/src/plugins/fts/fts-parser-tik...
2020 Nov 15
2
[patch] enhancement for tika server protected by user/password basic auth
On 15/11/2020 15:49, PGNet Dev wrote:
> On 11/15/20 6:33 AM, John Fawcett wrote:
>> I've configured a tika server behind an apache proxy which enforces
>> basic auth, but sending basic auth credentials for a tika server is not
>> currently supported by Dovecot.
>
> i was _just_ setting up a tika instance behind a nginx proxy with
> basicauth in place.
>
>
2020 Oct 30
0
Indexer error after upgrade to 2.3.11.3 [trial patch]
...100644 --- a/src/plugins/fts-solr/solr-connection.c +++
b/src/plugins/fts-solr/solr-connection.c @@ -103,7 +103,7 @@ int
solr_connection_init(const struct fts_solr_settings *solr_set,
http_set.ssl = ssl_client_set; http_set.debug = solr_set->debug;
http_set.rawlog_dir = solr_set->rawlog_dir; -solr_http_client =
http_client_init(&http_set); +solr_http_client =
http_client_init_private(&http_set); } *conn_r = conn; diff --git
a/src/plugins/fts/fts-parser-tika.c
b/src/plugins/fts/fts-parser-tika.c index
a4b8b5c3034f57e22e77caa759c090da6b62f8ba..b8b57a350b9a710d101ac7ccbcc14560d415d905
100644 --- a/...
2019 Apr 14
0
[PATCH] Re: Solr connection timeout hardwired to 60s
...g 2019-04-14 11:41:03.591782439 +0200
+++ src/plugins/fts-solr/fts-solr-plugin.c 2019-04-14 14:37:46.059433864 +0200
@@ -10,6 +10,8 @@
#include "fts-solr-plugin.h"
+#define DEFAULT_SOLR_BATCH_SIZE 1000
+
const char *fts_solr_plugin_version = DOVECOT_ABI_VERSION;
struct http_client *solr_http_client = NULL;
@@ -37,6 +39,10 @@
} else if (str_begins(*tmp, "default_ns=")) {
set->default_ns_prefix =
p_strdup(user->pool, *tmp + 11);
+ } else if (str_begins(*tmp, "batch_size=")) {
+ set->batch_size = atoi(*tmp + 11);
+ } else if (str_begins(*tmp, "...