search for: asciistandardtokenizer

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

2007 Mar 22
0
Url searching ?
...match them but i actually got problems with that. Here''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'...
2007 Apr 03
3
[Repost] Problem with url searching..
...match them but i actually got problems with that. Here''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'...