search for: ferretidx

Displaying 1 result from an estimated 1 matches for "ferretidx".

Did you mean: ferreted
2006 Oct 27
1
Regexpr. analyzer
...9;'t work in act_as_ferret, but now in pure ferret doesn''t work as well. I expected, with the code below, that only "abc" will be indexed, as only it matches the regexpr. What''s wrong? @index = Ferret::Index::Index.new(:path => ''c:/projects/peter/lib/ferretidx'', :analyzer => RegExpAnalyzer.new(/[a-f]/)) @index << {:id => "15", :title => "Programming Ruby", :content => "<strong>some thing abc</strong>"} @index.search_each(''content:"some"'') do |id, score...