<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 14 April 2019 23:22 TG Servers via dovecot <dovecot@dovecot.org>
wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<span style="font-family: Lato;">Hi,<br><br>I
have setup dovecot 2.3.5.1 with solr 7.7.1<br>Everything seems to be
working so far except that solr doesn't index a single
message.<br>Solr is running, the web api can be accessed, I see the
dovecot core there, but with zero docs.<br><br>If I trigger a
"body" search from Thunderbird solr is responding and searching, but
hitting 0 of course. <br><br>Looks like that : 2019-04-14
19:57:42.789 INFO (qtp898557489-40) [ x:dovecot] o.a.s.c.S.Request [dovecot]
webapp=/solr path=/select
params={q={!lucene+q.op%3DAND}body:foobar&fl=uid,<a
href="mailto:score&sort=uid+asc&fq=%2Bbox:925efe067ac8a35ce1430000828c97da+%2Buser:xxx@xxx.net&rows=2&wt=xml"
class="moz-txt-link-abbreviated">score&sort=uid+asc&fq=%2Bbox:925efe067ac8a35ce1430000828c97da+%2Buser:xxx@xxx.net&rows=2&wt=xml</a>}
hits=0 status=0 QTime=2<br><br>Everytime a new message comes in
indexer-worker is working but indexing 0.<br><br>Looks like that :
2019-04-14T19:39:36.887817+02:00 riot dovecot: indexer-worker(<a
href="mailto:xxx@xxx.net"
class="moz-txt-link-abbreviated">xxx@xxx.net</a>)<31697><3pDsLlhws1zMewAAgoyX2g:vb2mNFhws1zRewAAgoyX2g>:
Indexed 0 messages in INBOX<br><br>A "doveadm fts rescan"
just brings up this message : "Fatal: Unknown command 'fts', but
plugin fts exists. Try to set mail_plugins=fts"<br></span>
</blockquote>
<div>
<br>
</div>
<div>
Have you tried to add
</div>
<div>
<br>
</div>
<div>
mail_plugins = $mail_plugins fts fts_solr to config
</div>
<blockquote type="cite">
<span style="font-family: Lato;">My dovecot settings are
:<br>plugin {<br> sieve_plugins = sieve_imapsieve
sieve_extprograms<br> sieve_before =
/var/vmail/sieve/global/spam-global.sieve<br> sieve = <a
class="moz-txt-link-freetext">file:/var/vmail/sieve/%d/%n/scripts;active=/var/vmail/sieve/%d/%n/active-script.sieve</a><br><br>
###<br> ### Spam learning<br> ...<br> <br>
sieve_pipe_bin_dir = /usr/bin<br> sieve_global_extensions =
+vnd.dovecot.pipe<br><br> fts = solr<br> fts_autoindex =
yes<br> fts_solr = url=<a
href="http://localhost:8988/solr/dovecot/"
class="moz-txt-link-freetext">http://localhost:8988/solr/dovecot/</a>
debug<br><br> ...<br>}<br><br>I don't know
what to do or what I am doing wrong because solr is responding as said. Also the
data directory of the core is empty.<br>If I should provide more
information please tell me which, it's my own server so I have access to
everything<br><br>Can anyone please help with
that??<br><br>Thanks.<br><br><br><br></span>
</blockquote>
<div>
If the suggested change does not help, send doveconf -n
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>