[rt-users] mysql & sphinx

Alex Vandiver alexmv at bestpractical.com
Mon Aug 29 11:37:28 EDT 2011


On Mon, 2011-08-29 at 08:32 +0200, Arkadiusz Miskiewicz wrote:
> Did indexing text/html and having html_strip=1 [1]
> in sphinx produce any problems that caused only text/plain
> to be choosen for indexation in rt-setup-fulltext-index?

With the caveats that you'll need additional html_strip=1 indexes for
both the main and the delta index (otherwise <tags> will be stripped
from text/plain content), and that we've not tested it locally, it
should probably work, yes.  We opted to provide the text/plain
configuration as the default because most html mail has a text/plain
alternative.  But as rt-setup-fulltext-index states:

        Below is a simple Sphinx configuration which can be used to
        index all text/plain attachments in your database.  This
        configuration is not ideal; you should read the Sphinx
        documentation to understand how to configure it to better suit
        your needs.

 - Alex




More information about the rt-users mailing list