I have looked at the documentation and done some searching, but I can’t
seem to stop the STOP_WORDS from cutting out common words. I am using
acts_as_ferret and I have add the following to my code:
STOP_WORDS = []
acts_as_ferret({ :fields => { :name => { :boost
=> 10 },
:project_client_company_id => { :boost
=> 0 }
}
},
{:analyzer =>
Ferret::Analysis::StandardAnalyzer.new(STOP_WORDS)})
Regardless, words like ‘into’ are not being indexed (I have looked at
the index files). I have been re-indexing, so it isn’t a problem like
that.
If anyone can point out what I am doing wrong that would be great.