elastic / elasticsearch

Free and Open, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
69.18k stars 24.54k forks source link

Create an API to manage stopwords #79806

Open alxxyz opened 2 years ago

alxxyz commented 2 years ago

It will be great to manage stopwords via an API call instead of relying on putting a file down on all of the Elasticsearch nodes, as it is supported now for synonyms. https://www.elastic.co/guide/en/app-search/7.16/synonyms.html

Foe example in Solr we can update the stopwords list by API

curl -X PUT -H 'Content-type:application/json' --data-binary '["foo"]' 
"http://localhost:8983/solr/techproducts/schema/analysis/stopwords/english"

https://solr.apache.org/guide/6_6/managed-resources.html#ManagedResources-Stopwords

elasticmachine commented 2 years ago

Pinging @elastic/es-search (Team:Search)

elasticsearchmachine commented 1 month ago

Pinging @elastic/es-search-relevance (Team:Search Relevance)