search for: asciilowercasefilter

Displaying 2 results from an estimated 2 matches for "asciilowercasefilter".

2007 Mar 22
0
Url searching ?
...9;'s a little code of what i would like to achieve: require ''rubygems'' require ''ferret'' require ''ftools'' class TestAnalyzer def token_stream(field, str) ts = Ferret::Analysis::AsciiStandardTokenizer.new(str) ts = Ferret::Analysis::AsciiLowerCaseFilter.new(ts) end end system ''rm -rf /tmp/ferret_test'' if File.exists?(''/tmp/ferret_test'') File.mkpath(''/tmp/ferret_test'') INDEX = Ferret::I.new(:path => ''/tmp/ferret_test'', :analyzer => TestAnalyzer.new) INDEX << {:ty...
2007 Apr 03
3
[Repost] Problem with url searching..
...9;'s a little code of what i would like to achieve: require ''rubygems'' require ''ferret'' require ''ftools'' class TestAnalyzer def token_stream(field, str) ts = Ferret::Analysis::AsciiStandardTokenizer.new(str) ts = Ferret::Analysis::AsciiLowerCaseFilter.new(ts) end end system ''rm -rf /tmp/ferret_test'' if File.exists?(''/tmp/ferret_test'') File.mkpath(''/tmp/ferret_test'') INDEX = Ferret::I.new(:path => ''/tmp/ferret_test'', :analyzer => TestAnalyzer.new) INDEX << {:ty...