Re: search body with wildcards

2016-11-10 Thread W. de Hoog
When searching: doveadm search mailbox shared/* BODY calib* solr is queried with ...body:calib%5c*... so the wildcard is escaped. Is there any way to disable this escaping? I removed '*' and '?' from solr_escape_chars in src/plugins/fts-solr/fts-backend-solr.c to allow to use them as

Re: search body with wildcards

2016-11-10 Thread W. de Hoog
On 2016-11-09 09:52, W. de Hoog wrote: Hi, A question. We are using fts_solr. When searching for content in BODY I noticed that dovecot only supports full words. "BODY calibration" returns results but "BODY calibra" does not. Nor "BODY calibra*". Solr does suppo

search body with wildcards

2016-11-09 Thread W. de Hoog
Hi, A question. We are using fts_solr. When searching for content in BODY I noticed that dovecot only supports full words. "BODY calibration" returns results but "BODY calibra" does not. Nor "BODY calibra*". Solr does support searching with wildcards so why is it that dovecot does not?

Re: Indexing failed: 500 Internal Server Error

2016-11-09 Thread W. de Hoog
On 2016-11-08 09:57, Aki Tuomi wrote: Yes, this happens because your SOLR server is reporting 500 Internal Server Error. The "Internal Server Error" was an out of memory error in solr. Solved by changing '-Xmx128m' into '-Xmx1024m' in /etc/default/tomcat7. -- Willem-Jan de Hoog

Re: Indexing failed: 500 Internal Server Error

2016-11-08 Thread W. de Hoog
Yes, this happens because your SOLR server is reporting 500 Internal Server Error. Do you mean this is normal behaviour of dovecot? I have the impression it causes dovecot to stop indexing all other mailboxes. -- Willem-Jan de Hoog

Indexing failed: 500 Internal Server Error

2016-11-08 Thread W. de Hoog
Hi, While running doveadm index on a mailbox this gets printed: doveadm(neil): Error: fts_solr: Indexing failed: 500 Internal Server Error doveadm(neil): Panic: file http-client-request.c: line 792 (http_client_request_send_payload): assertion failed: (ret == 0) doveadm(neil): Error: Raw

Re: [Dovecot] using OR in doveadm search query

2014-01-07 Thread W. de Hoog
This works for me (at least with tcsh): $ doveadm search mailbox shared/* OR (SUBJECT a) (SUBJECT b) doveadm does not complain anymore but it does not find anything. I guess because now the query has become a mailbox name that does not exist. ( I am using dovecot 2.2.9) -- Willem-Jan de

[Dovecot] using OR in doveadm search query

2014-01-06 Thread W. de Hoog
Hi, I am trying to create an OR query but no success yet: $ doveadm search mailbox shared/* OR SUBJECT a SUBJECT b doveadm(neil): Fatal: Use parenthesis when mixing ANDs and ORs $ doveadm search mailbox shared/* OR \(SUBJECT a\) \(SUBJECT b\) doveadm(neil): Fatal: Unknown argument (SUBJECT $

Re: [Dovecot] search gives variable/different results

2013-12-23 Thread W. de Hoog
Switched from fts-squat to fts-solr and searching works much better. -- Willem-Jan de Hoog

Re: [Dovecot] search gives variable/different results

2013-12-22 Thread W. de Hoog
Hi, Still having search troubles. I expect to get 9 results in two mailboxes, 3 in the first one and six in de second one. Total mailboxes in shared/ is around 1100. doveadm search mailbox shared/Products/VIP* TO stromvers - all expected results doveadm search mailbox shared/Products/VIP/*

[Dovecot] search gives variable/different results

2013-12-14 Thread W. de Hoog
Hi, When I perform a search using doveadm every time it returns different results. For example: $ doveadm search mailbox shared/\* TO stromvers 938ff10527d6be515f597b46f991 6 938ff10527d6be515f597b46f991 7 938ff10527d6be515f597b46f991 8 $ doveadm search mailbox shared/\* TO

Re: [Dovecot] doveadm index crashes when indexing shared mailboxes

2013-06-18 Thread W. de Hoog
Hi, We store our mail archive in a tree of subfolders. I am trying to speed up text searching on our mail archive but when running doveadm -D -v index -u neil shared/Exalon/Aandeelhouders the following output is produced: .. doveadm(neil): Panic: file mbox-storage.c: line 711