Hi!
This case was solved :)
I found the source of code here 
http://davidfurber.name/2009/02/thinking-sphinx-with-excerpt-highlighting/,
and updated plugin by David Furber works good for me, no more need to
hack around :)


On May 30, 10:08 am, Pat Allan <[email protected]> wrote:
> Hi Alexander
>
> Do the excerpts work when you're using the standard TS gem and delayed 
> deltas? ie: is the cause your code, or mine? :)
>
> --
> Pat
>
> On 28/05/2010, at 12:05 AM, Alexander Sviridov wrote:
>
>
>
> > Thank you for reply!
>
> > Actually my TS  version is 1.3.16, I've mistaken.
> > Also I found that rewritten patch was taken 
> > fromhttp://davidfurber.name/2009/02/thinking-sphinx-with-excerpt-highligh...
>
> > There is a "thinking_sphinx_excerpts" plugin which works with 1.3.16 & 
> > ts_delayed_delta.
> > Behaves a little bit different, and some highlights are missing, but much 
> > cleaner.
>
> > On 27.05.2010, at 17:56, Pat Allan wrote:
>
> >> Hi Alexander
>
> >> Can you upgrade TS to 1.3.16? Testing against that would be ideal...
>
> >> That said, if it still doesn't work, then we can investigate further, it's 
> >> just that the ts-delayed-delta gem may be a bit more friendly.
>
> >> --
> >> Pat
>
> >> On 27/05/2010, at 5:59 PM, Alexander Sviridov wrote:
>
> >>> Hello!
>
> >>> I've got a problem with ts-delayed-delta.  We use some kind of hack in
> >>> the initializer
> >>> to customize the process of excerpts generation: some custom CSS, HTML-
> >>> escaping, etc.
> >>> It looks like this:http://gist.github.com/415580
>
> >>> Works on TS 1.3.6 without deltas. With ts_delayed_deltas gem I got
> >>> this:
>
> >>> Riddle::ResponseError (No response from searchd (status: 0, version:
> >>> 256)):
> >>> vendor/plugins/thinking-sphinx/rails/./vendor/riddle/lib/riddle/
> >>> client.rb:564:in `request'
> >>> vendor/plugins/thinking-sphinx/rails/./vendor/riddle/lib/riddle/
> >>> client.rb:368:in `excerpts'
>
> >>> sphinx 0.9.9
> >>> TS 1.3.6
> >>> rails 2.3.4 (to be updated soon)
>
> >>> Any ideas on fixing or cleaner solution of a problem would be much
> >>> appreciated!
>
> >>> --
> >>> 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 
> >>> athttp://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 
> >> athttp://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 
> > athttp://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