Hello, try to use the new 2.1rc and don't get any data in the searchindex. Tried first lucene, and switched than back so solr. If I do an search in an mailfolder, i get in the dovecot-log 2012-02-06 22:17:11 | dovecot: | indexer-worker(xxxxxx): Indexed 0 messages in INBOX/dovecot Log from solr. Feb 6, 2012 10:17:11 PM org.apache.solr.core.SolrCore execute INFO: [] webapp=/solr path=/select params={fl=uid,score&sort=uid+asc&fq=%2Bbox:120ed10bbe9dcd4c8d2e0000f8146a47+%2Buser:"xxxxxxx"&q=body:"solr"&rows=9159} hits=0 status=0 QTime=1 Maybe I miss something. Upgraded from 2.0.15 to 2.1(head from repository yesterday) With 2.0 i see, if i start an search, solr had to work on the mail, now happens nothing. Upgrade the schema.xml, delete the old index. Regard Ingo Thierack
manuel.bertrand at gmail.com
2012-Feb-07 12:20 UTC
[Dovecot] Possible broken indexer(lucene/solr)?
Le 06/02/12 22:26, Ingo Thierack a ?crit :> Hello, > > try to use the new 2.1rc and don't get any data in the searchindex. > > Tried first lucene, and switched than back so solr. > > If I do an search in an mailfolder, i get in the dovecot-log > > 2012-02-06 22:17:11 | dovecot: | > indexer-worker(xxxxxx): Indexed 0 messages in INBOX/dovecot > > > Log from solr. > Feb 6, 2012 10:17:11 PM org.apache.solr.core.SolrCore execute > INFO: [] webapp=/solr path=/select > params={fl=uid,score&sort=uid+asc&fq=%2Bbox:120ed10bbe9dcd4c8d2e0000f8146a47+%2Buser:"xxxxxxx"&q=body:"solr"&rows=9159} > hits=0 status=0 QTime=1 > > > Maybe I miss something. Upgraded from 2.0.15 to 2.1(head from repository > yesterday) > With 2.0 i see, if i start an search, solr had to work on the mail, now > happens nothing. > Upgrade the schema.xml, delete the old index. > > Regard > Ingo ThierackSame thing here. Tried with 2.1-rc1 and rc5. No results.
On 6.2.2012, at 23.26, Ingo Thierack wrote:> try to use the new 2.1rc and don't get any data in the searchindex. > > Tried first lucene, and switched than back so solr.Lucene should work..> Maybe I miss something. Upgraded from 2.0.15 to 2.1(head from repository > yesterday) > With 2.0 i see, if i start an search, solr had to work on the mail, now > happens nothing. > Upgrade the schema.xml, delete the old index.You mean you deleted Solr index, so that it's empty? That should work too. Anyway, in v2.1 Dovecot keeps track of what is the last indexed message in dovecot.index files. So if you're switching between backends or have messed things up in tests, you need to run "doveadm fts rescan" (for each user).