[Dovecot] FTS solr : body search gives mysql error

Reindl Harald h.reindl at thelounge.net
Fri Mar 14 19:05:02 UTC 2014


Am 14.03.2014 19:58, schrieb Alexandre Ellert:
> With auth_debug = yes, I see that the MySQL querie change when fts solr is enabled, it adds : AND disableindexer-worker = 'n'
> Here is the full query :
> 
> Mar 14 19:51:03 mut-mx-1 dovecot: auth: Debug: master in: USER#0111#011user at domain.com#011service=indexer-worker
> Mar 14 19:51:03 mut-mx-1 dovecot: auth-worker(10769): Debug: sql(user at domain.com): SELECT email as user, maildir as home, CONCAT('maildir:', maildir, '/Maildir') as mail, uid, gid, CONCAT('*:storage=', quota, 'B') AS quota_rule, CONCAT(maildir, '/.sieve') as sieve FROM mail_user WHERE (login = 'user at domain.com' OR email = 'user at domain.com') AND disableindexer-worker = 'n'
> Mar 14 19:51:03 mut-mx-1 dovecot: auth-worker(10769): Warning: mysql: Query failed, retrying: Unknown column 'disableindexer' in 'where clause'
> Mar 14 19:51:03 mut-mx-1 dovecot: auth-worker(10769): Error: sql(user at domain.com): User query failed: Unknown column 'disableindexer' in 'where clause'
> Mar 14 19:51:03 mut-mx-1 dovecot: auth: Debug: userdb out: FAIL#0111
> 
> So, I guess that I need to add a disableindexer-worker column in my database but I can't find any documentation about 
> that nor any reference about disableindexer-worker in source code. I'm lost

AND disableindexer-worker = 'n' comes to my guess the other possible value is 'y'
so just add the missing column

the question before you did not understand was still the hint "provide
your configuration with masked internal passwords" as it is usual

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 246 bytes
Desc: OpenPGP digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140314/37be120c/attachment.sig>


More information about the dovecot mailing list