Displaying 2 results from an estimated 2 matches for "db_state".
Did you mean:
mb_state
2007 Sep 07
4
Ferret DRB - can add/edit index, but can''t search
...he index, my ferret_server.log file
shows the following:
#method_missing(:add, ["Article", {:synopsis=>"Analysis and
Projections", :status=>1, :player_names=>"", :team_names=>"",
:publisher=>"", :title=>"Article Title", :db_state=>0, :id=>1,
:article_published_date=>1189115220}])
#method_missing(:add, ["Article", {:synopsis=>"Analysis and
Projections", :status=>1, :player_names=>"", :team_names=>"",
:publisher=>"", :title=>"Article Title 1&quo...
2007 Sep 20
5
Ferret DRB, UTF-8, Mongrel
...(or
some variation of his name, which I handle using a fuzzy search)
So then call an analyzer in my acts_as_ferret declaration:
acts_as_ferret({ :fields => {:first_name => {:store => :no},
:last_name => {:store => :no},
:db_state => {:index =>
:untokenized_omit_norms, :term_vector => :no}},
:remote => true}, {:analyzer => UtfAnalyzer.new})
Here''s the analyzer I''m using... pretty much taken from from here:
http://ferret.davebalmain.com/api/classes/Ferret/Analysis/MappingFi...