Indexing fails with .. FIELDS_INDEX_EXTENSION).c_str() )' failed
tss at iki.fi
Tue Oct 13 20:28:42 UTC 2015
On 13 Oct 2015, at 23:25, Akash <akbwiz+dovecot at gmail.com> wrote:
> Mailing list archives suggest that this problem has been fixed in the
> older versions itself but I am getting the error still while trying to
> doveadm index a large folder of emails. Sometimes it throws error
> after 30000, something 40000, the latest it gave up after 111000. But
> it just never completes.
> std::string lucene::index::DocumentsWriter::closeDocStore(): Assertion
> `numDocsInStore*8 == directory->fileLength( (docStoreSegment + "." +
> IndexFileNames::FIELDS_INDEX_EXTENSION).c_str() )' failed.
> I am using dovecot 2:2.2.19-1~auto+7& libclucene-core1:i386 188.8.131.52-4
> from debian wheezy backports. Please advice.
Looks like a bug in clucene library. I don't know if there's anything that can be done about it on Dovecot side. I recommend switching to fts-solr.
More information about the dovecot