Displaying 1 result from an estimated 1 matches for "ferret_highlight".
2007 Aug 08
0
Escaping special characters before highlighting
Hi all.
I need to perform some operation on the results of a ferret search
before it gets highlighted. Is there a way to do this?
This is my code which calls the highlighting inside a Rails View:
<%= result.ferret_highlight(@query, :field => :ferret_text, :pre_tag =>
''<span class="keyword">'', :post_tag => ''</span>'') %>
--
Posted via http://www.ruby-forum.com/.