Hi, I just started using ferret and the aaf plugin and it seems to work
quite nicely. However, my fields are very short (titles of music) and I
don't think may users will be typing in apostrophes when they are
looking for something. Right now, for a simple document such as "what
i've done" I'd like it to be indexed as "what ive done" instead. Right
now I'm using this for my aaf line (I don't want any stop words either
as smaller docs, each word even articles can have some significance):

acts_as_ferret( { :fields => [ :name ] }, { :analyzer =>
Ferret::Analysis::StandardAnalyzer.new([]) } )

How should I go about removing the apostrophes when docs are added to
the index?

Thanks,
Chris

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to