Method: MeiliSearch::Index#update_stop_words
- Defined in:
- lib/meilisearch/index.rb
#update_stop_words(stop_words) ⇒ Object Also known as: stop_words=
292 293 294 295 |
# File 'lib/meilisearch/index.rb', line 292 def update_stop_words(stop_words) body = stop_words.nil? || stop_words.is_a?(Array) ? stop_words : [stop_words] http_put "/indexes/#{@uid}/settings/stop-words", body end |