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
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
* Chicago, IL, USA September 26 & 27, 2011
* San Francisco, CA, USA October 18 & 19, 2011
* Washington DC, USA October 31 & November 1, 2011
* Melbourne VIC, Australia November 28 & 29, 2011
* Barcelona, Spain November 28 & 29, 2011