Displaying 2 results from an estimated 2 matches for "ferret_cont".
Did you mean:
ferret_cat
2007 Jun 07
3
:store => :yes doesn''t work in some cases
...m not really sure if this is a bug, but it makes my search results
look a bit strange. I have an acts_as_ferret declaration that looks
like:
acts_as_ferret :store_class_name => true, :remote => true, :fields =>
{
:ferret_name => { :store => :yes, :boost => 2 },
:ferret_content => { :store => :yes } }
I store both fields so that I don''t need to load each result model from
the rails DB when displaying the results. This is the code that I use to
show each result:
highlighted_name = result.highlight(params[:q], :field => :ferret_name,
:pre_tag => &q...
2007 Jun 28
1
DRb server crashing
...ight with [13, "Topic", "jesse",
{:field=>:ferret_name, :excerpt_length=>150, :num_excerpts=>1,
:pre_tag=>"<strong>", :post_tag=>"</strong>"}]
call index method: highlight with [13, "Topic", "jesse",
{:field=>:ferret_content, :excerpt_length=>150, :num_excerpts=>1,
:pre_tag=>"<strong>", :post_tag=>"</strong>"}]
call index method: highlight with [17, "Topic", "jesse",
{:field=>:ferret_name, :excerpt_length=>150, :num_excerpts=>1,
:pre_tag=>&q...