Hi,
Im useing acts_as_ferret and have a code like this:
class News < ActiveRecord::Base
acts_as_ferret({:fields => { :normalized_text => {:store => :yes }}})
end
This should use the default analyzer with lowercase=true
If I do something like
News.find_by_contents(‘Problem’)
it doesn’t find anything (though ‘Problem’ is in the text). I know the
query should lowercase this but it seems it doesn’t. This seems to be a
aaf problem, right? Or am I completely wrong?
BTW: has anyone encountered errors with ferret/aaf.highlight? It seems
it just chops the text of after x bytes but this looks ugly in unicode
if it splits a character.
Regards
Peter