views:

402

answers:

1

I am using sphinx to do full text search on a mysql database through thinking sphinx.

I would like to highlight the matched terms in the results I show to the user.

Shpinx is smart enough that searching for 'botulism' will match "i like to inject botulinum into my eyes"

How can I get it to tell me that 'botulinum' matches 'botulism'?

+1  A: 

Hello,

First, I'm heavily using sphinx for one of my project but I'm not using ThinkingSphinx since the config file we use is quite complex, I'm using a customized act_as_sphinx plugin.

To answer your question from pure sphinx point of view :

Hope this helps and I highly encourage you to look at the sphinx documentation to fully use this very efficient indexer

Manfred

Manfred Dardenne

related questions