Hi Raghu

Thinking Sphinx doesn't actually do the highlighting - it's Sphinx itself that 
handles this. It looks like using wildcards (so searching for *york) should 
highlight newyork - using 0.9.9rc2 or full release - but just partial words 
(york) will not.
http://www.sphinxsearch.com/forum/view.html?id=2955

Sorry I can't be of more help.

-- 
Pat

On 22/02/2010, at 9:21 PM, Raghu wrote:

> Hi,
> 
>     I am using thinking sphinx in my current application. I need to
> high light the search words in the results using excerpts.
> 
>     I am able to hight the search words currently but the issue is
> when a search word is a sub string of large word then its not getting
> high lighted. ex. if I search for 'york', it should highlight
> substring 'york' of 'newyork', right now its not working.
> 
>     I used excerpt_for as its suitable for my requirement. I passed
> the match information and result class to it.
> 
>     Is there any way I could tell thinking sphinx to highlight sub
> string as well.
> 
> 
> Thanks
> raghu
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/thinking-sphinx?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to