Sha256: 027b4a16da04dfb6cb4ef29bb4bb30f4d71b7b677b7386e30e094616326e4b62

Contents?: true

Size: 244 Bytes

Versions: 4

Compression:

Stored size: 244 Bytes

Contents

class StopwordsArtwork
  include Mongoid::Document
  include Mongoid::FullTextSearch

  field :title
  fulltext_search_in :title,
                     index_full_words: true,
                     stop_words: { 'and' => true, 'by' => true }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mongoid_fulltext-0.8.2 spec/models/stopwords_artwork.rb
mongoid_fulltext-0.8.0 spec/models/stopwords_artwork.rb
mongoid_fulltext-0.7.1 spec/models/stopwords_artwork.rb
mongoid_fulltext-0.7.0 spec/models/stopwords_artwork.rb