<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 19/05/2020 16:48 Stuart Henderson <<a
href="mailto:stu@spacehopper.org">stu@spacehopper.org</a>>
wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
On 2020-05-19, David Gessel <<a
href="mailto:gessel@blackrosetech.com">gessel@blackrosetech.com</a>>
wrote:
</div>
<blockquote type="cite">
<div>
I'm getting some log errors with clucene that I am having no luck
tracking down on the interwebs.
</div>
</blockquote>
<div>
This looks relevant:
</div>
<div>
<br>
</div>
<div>
<a
href="https://www.mail-archive.com/dovecot@dovecot.org/msg66366.html"
rel="noopener"
target="_blank">https://www.mail-archive.com/dovecot@dovecot.org/msg66366.html</a>
</div>
<div>
<br>
</div>
<blockquote type="cite">
<div>
I am considering switch to xapian (solr and java... pls noe) as the
</div>
<div>
port is quite tempting from an ease of integration perspective, but the
</div>
<div>
easiest solution would be to resolve these odd indexing errors. Anyone
</div>
<div>
have a clue?
</div>
</blockquote>
<div>
dovecot-fts-xapian is easy to configure, but has a big downside compared
</div>
<div>
to solr in that the indexer runs as root.
</div>
</blockquote>
<div>
Dovecot indexer does not run as root.
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>
Stuart Henderson
2020-May-19 14:18 UTC
FTS-lucene errors : language not available for stemming
On 2020/05/19 17:04, Aki Tuomi wrote:> > On 19/05/2020 16:48 Stuart Henderson <stu at spacehopper.org> wrote: > > > On 2020-05-19, David Gessel <gessel at blackrosetech.com> wrote: > > I'm getting some log errors with clucene that I am having no luck tracking down on the > interwebs. > > This looks relevant: > > https://www.mail-archive.com/dovecot at dovecot.org/msg66366.html > > > I am considering switch to xapian (solr and java... pls noe) as the > port is quite tempting from an ease of integration perspective, but the > easiest solution would be to resolve these odd indexing errors. Anyone > have a clue? > > dovecot-fts-xapian is easy to configure, but has a big downside compared > to solr in that the indexer runs as root. > > Dovecot indexer does not run as root. > > --- > Aki Tuomi >It does in the not entirely uncommon case where you have setup dovecot-fts-xapian, have multiple system users rather than a single uid owning all mailboxes, and need to index all mailboxes. PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND 44468 root 2 0 11M 18M sleep/6 netio 1:41 68.36% doveadm index -A * With solr the indexing is done out-of-process and typically under a safe uid.
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<div>
<br>
</div>
<blockquote type="cite">
<div>
On 19/05/2020 17:18 Stuart Henderson <<a
href="mailto:stu@spacehopper.org">stu@spacehopper.org</a>>
wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
On 2020/05/19 17:04, Aki Tuomi wrote:
</div>
<blockquote type="cite">
<div>
On 19/05/2020 16:48 Stuart Henderson <<a
href="mailto:stu@spacehopper.org">stu@spacehopper.org</a>>
wrote:
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
On 2020-05-19, David Gessel <<a
href="mailto:gessel@blackrosetech.com">gessel@blackrosetech.com</a>>
wrote:
</div>
<div>
<br>
</div>
<div>
I'm getting some log errors with clucene that I am having no luck
tracking down on the
</div>
<div>
interwebs.
</div>
<div>
<br>
</div>
<div>
This looks relevant:
</div>
<div>
<br>
</div>
<div>
<a
href="https://www.mail-archive.com/dovecot@dovecot.org/msg66366.html"
rel="noopener"
target="_blank">https://www.mail-archive.com/dovecot@dovecot.org/msg66366.html</a>
</div>
<div>
<br>
</div>
<div>
<br>
</div>
<div>
I am considering switch to xapian (solr and java... pls noe) as the
</div>
<div>
port is quite tempting from an ease of integration perspective, but the
</div>
<div>
easiest solution would be to resolve these odd indexing errors. Anyone
</div>
<div>
have a clue?
</div>
<div>
<br>
</div>
<div>
dovecot-fts-xapian is easy to configure, but has a big downside compared
</div>
<div>
to solr in that the indexer runs as root.
</div>
<div>
<br>
</div>
<div>
Dovecot indexer does not run as root.
</div>
<div>
<br>
</div>
<div>
---
</div>
<div>
Aki Tuomi
</div>
<div>
<br>
</div>
</blockquote>
<div>
It does in the not entirely uncommon case where you have setup
</div>
<div>
dovecot-fts-xapian, have multiple system users rather than a single
</div>
<div>
uid owning all mailboxes, and need to index all mailboxes.
</div>
<div>
<br>
</div>
<div>
PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND
</div>
<div>
44468 root 2 0 11M 18M sleep/6 netio 1:41 68.36% doveadm index -A *
</div>
<div>
<br>
</div>
<div>
With solr the indexing is done out-of-process and typically under a
</div>
<div>
safe uid.
</div>
</blockquote>
<div>
Thats doveadm though, not indexer.
</div>
<div class="io-ox-signature">
<pre>---
Aki Tuomi</pre>
</div>
</body>
</html>
Benny Pedersen
2020-May-19 19:51 UTC
FTS-lucene errors : language not available for stemming
On 2020-05-19 16:18, Stuart Henderson wrote:> It does in the not entirely uncommon case where you have setup > dovecot-fts-xapian, have multiple system users rather than a single > uid owning all mailboxes, and need to index all mailboxes. > > PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU > COMMAND > 44468 root 2 0 11M 18M sleep/6 netio 1:41 68.36% > doveadm index -A * > > With solr the indexing is done out-of-process and typically under a > safe uid.no doveconf -n, no problem if you really have a bug it should be solved i think you could su --user=non-root-user doveadm index -A to not have it run as root, it works well for fangfrisch, dovecot should not allow commands as root without thinking of consequences
Maybe Matching Threads
- FTS-lucene errors : language not available for stemming
- FTS-lucene errors : language not available for stemming
- FTS-lucene errors : language not available for stemming
- FTS-lucene errors : language not available for stemming
- FTS-lucene errors : language not available for stemming