hello, created virtual folder "virtuall.all" now usin this folder is working fine. But when i want to search in this virtual folder i get these errors with fts-solr:
Feb 11 10:37:24 myserver dovecot: indexer-worker([email protected]): Panic: file solr-connection.c: line 419 (solr_connection_select): assertion failed: (!conn->posting) Feb 11 10:37:24 myserver dovecot: indexer-worker([email protected]): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0 [0xcff170] -> /usr/lib/dovecot/libdovecot.so.0 [0xcff1cd] -> /usr/lib/dovecot/libdovecot.so.0 [0xcfe7b4] -> /usr/lib/dovecot/lib21_fts_solr_plugin.so [0x3cfec5] -> /usr/lib/dovecot/lib21_fts_solr_plugin.so [0x3cc63f] -> /usr/lib/dovecot/lib20_fts_plugin.so(fts_backend_get_last_uid+0x6b) [0x3c09cb] -> /usr/lib/dovecot/lib20_fts_plugin.so [0x3c53c1] -> /usr/lib/dovecot/lib20_fts_plugin.so [0x3c6019] -> /usr/lib/dovecot/lib20_virtual_plugin.so [0x8d3115] -> /usr/lib/dovecot/lib20_fts_plugin.so [0x3c5f18] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_precache+0xf) [0x345f9f] -> dovecot/indexer-worker [0x8049d3f] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x42) [0xd0bcb2] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xef) [0xd0d23f] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x48) [0xd0bc58] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x2d) [0xcf5c6d] -> Feb 11 10:37:24 myserver dovecot: indexer: Error: Indexer worker disconnected, discarding 1 requests for [email protected] Feb 11 10:37:24 myserver dovecot: indexer-worker([email protected]): Fatal: master: service(indexer-worker): child 30511 killed with signal 6 (core dumps disabled) Feb 11 10:37:24 myserver dovecot: imap([email protected]): Error: indexer failed to index mailbox virtual.all After some (realy long time) i get correct answer with the right UIDs of mails, but it's not from solr. :-( Search in normal inbox is not concerned. Search there is very fast and i log i get these: Feb 11 10:44:44 myserver dovecot: indexer-worker([email protected]): Indexed 9 messages in INBOX Anyone some ideas? Am 11.02.2013 um 02:29 schrieb Timo Sirainen: > On Thu, 2013-02-07 at 11:04 +0100, Frederic Biermann wrote: >> Hello, >> >> i am using dovecot 2.1.x with Solr 4.x and it is all working fine. >> Search in current selected folder is extremly fast. >> >> But i want to ask if it is possible that i have selected inbox, setup a >> search and get results from subfolders. >> This is not working for me. I have to select the subfolder and then i get >> results. >> >> Is there any solution to fix this? > > Create a virtual folder that contains all the folders you want to > search: http://wiki2.dovecot.org/Plugins/Virtual > >
