Displaying 1 result from an estimated 1 matches for "generic_analysis_regex".
2007 May 16
0
How we got rid of a bus error when using acts_as_ferret
...ds that described the same situation, but didn''t come with any
solution.
Then we tried to zero in, first by removing the :analyzer part, and the
bus error was gone. We started to suspect the analyzer that we were
using:
:analyzer =>
Ferret::Analysis::RegExpAnalyzer.new(FerretHelper::GENERIC_ANALYSIS_REGEX,
true)
Where GENERIC_ANALYSIS_REGEX is
/([a-zA-Z]|[\xc0-\xdf][\x80-\xbf])+|[0-9]+|[\xe0-\xef][\x80-\xbf][\x80-\xbf]/
This is used, a la Jcode, to tokenize both European-language words,
numbers, and CJV chars.
Interestingly, we started to suspect if Mongrel''s development mode is
the c...