Displaying 1 result from an estimated 1 matches for "utfanalyzer".
Did you mean:
htsanalyzer
2007 Sep 20
5
Ferret DRB, UTF-8, Mongrel
..._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/MappingFilter.html
-----
class UtfAnalyzer < Ferret::Analysis::Analyzer
include Ferret::Analysis
CHARACTER_MAPPINGS = {
[''?'...