Displaying 1 result from an estimated 1 matches for "access_point_kinds2".
2007 Nov 13
8
acts_as_ferret : cannot use a customized Analyzer (as indicated in the AdvancedUsageNotes)
...index/develop
).
test 2 : insert a ''raise'' in the token_stream() method => it''s never thrown.
test 3 : use the standard analyzer, to exclude the 2 stop words => same
wrong result.
class AccessPointKind2 < ActiveRecord::Base
set_table_name "access_point_kinds2"
acts_as_ferret(
{:remote => true, :fields => { :name => {:store => :yes}} } ,
{ :analyzer =>
Ferret::Analysis::StandardAnalyzer.new(["fax","gsm"])
}
)
end
Here are the model and the analyzer :
MODEL :
cl...