spec/models/stopwords_artwork.rb in mongoid_fulltext-0.5.1 vs spec/models/stopwords_artwork.rb in mongoid_fulltext-0.5.2
- old
+ new
@@ -3,8 +3,8 @@
include Mongoid::FullTextSearch
field :title
fulltext_search_in :title,
:index_full_words => true,
- :stop_words => { 'and' => true }
+ :stop_words => { 'and' => true, 'by' => true}
end