[Dovecot] fts-solr not indexing body content

Bård Johannessen bob at db.org
Mon Mar 26 16:29:08 EEST 2012


This could easily be me missing something, but I can't seem to get the
fts-solr plugin to index message bodies. Tcpdump shows me the
following being sent from Dovecot to Solr as a messages is indexed:

<add><doc><field name="uid">6549</field><field
name="box">fde08816e80d6b4f26650000b5f0b4b2</field><field
name="user">user</field><field
name="id">6549/fde08816e80d6b4f26650000b5f0b4b2/user</field><field
name="body">
</field><field name="hdr">Return-path: ...

As you can see, the <field name="body"/>-node contains just an empty line.

The above is just a snippet to illustrate the problem. A full dump can
be found at the following URL:

    http://db.org/temp/solr.xml.txt

Full text search is configures such:

plugin {
        fts = solr
        fts_solr = break-imap-search url=http://127.0.0.1:8080/solr/
}

So; am I missing something, or is this a Dovecot problem?

dovecot.conf:

    http://db.org/temp/dovecot.conf


Regards,
Bård Johannessen


More information about the dovecot mailing list