Displaying 1 result from an estimated 1 matches for "character_mappings".
2007 Sep 20
5
Ferret DRB, UTF-8, Mongrel
...e => 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 = {
[''?'',''?'',''?'',''?'',''?'',''?'',''?'',''?''] => ''a'',
''?'' => '&...