Closed sergiodj closed 2 years ago
Huh, I tried searching something from inside my MUA and now I see the indexer-worker
running. That's really strange; I was expecting it to run as soon as I issued the doveadm index
command. Now my MUA is blocked waiting for dovecot to reply to the search, which is what I was trying to avoid.
For what it's worth, the indexer worker is still running after almost 18 hours. Is this also expected? Not entirely sure whether this is a problem with fts-xapian or dovecot itself.
if you issue a rescan, dovecot bascially delete indexes and re-index the whole mailbox
How big is your mailbox ? Can you share more about the log file ?
if you issue a rescan, dovecot bascially delete indexes and re-index the whole mailbox
Right. I've issued a rescan in the beginning when I noticed that the initial index
command wasn't doing anything, but when it started running I didn't issue a rescan anymore.
How big is your mailbox ? Can you share more about the log file ?
The mailbox contains around 300k emails. It's big, but I'm sure there are much bigger mailboxes out there.
Yeah, I can share more abou the log file. What specific info would you like to see?
For the log file, insterested in what the indexer process is doing during 18 hours ;)
I was also interested to know that. Unfortunately I had disabled the verbose/debug options, so there's nothing useful in the log. Also, the process has finished now.
I will try issuing a rescan later today to see if I can reproduce it; will let you know.
FWIW, I tried another FTS plugin here and had the same problem with doveadm index
not indexing anything when invoked, so I'm closing this bug because it's unlikely this is a problem with fts-xapian itself. Thanks for the help, though.
Hi,
This may very well be a local configuration problem, so I apologize in advance if it's not a bug.
I'm running Debian testing with dovecot-core 1:2.3.18+dfsg1-1+b1 and dovecot-fts-xapian 1.5.5 (built locally; the package in unstable/testing doesn't work with dovecot 2.3.18).
Here's my
conf.d/90-fts.conf
:I have a non-standard mailbox configuration using namespaces, like this (from
conf.d/10-mail.conf
):I don't think there's anything else that could impact
doveadm index
, but if there is just let me know and I will gladly post the configuration here.Anyway, what happens is that when I run
doveadm index
it doesn't do anything. It returns immediately (even though I have hundreds of thousands of messages to be indexed), and doesn't populate thexapian-indexes
directories inside the respective namespaces' folders. Here's the output I see when I enable debugging:Initially the line
Apr 17 21:31:31 doveadm(myuser)<868012><RLbQM3O/XGKsPg0AquyQZQ>: Debug: fts: Indexes disabled for namespace ''
caught my attention, but after some research I found that it's harmless. I also tried runningdoveadm fts rescan
, to no avail.