elastic / elasticsearch

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

Create an API to manage stopwords #79806

Open alxxyz opened 3 years ago

alxxyz commented 3 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 3 years ago

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

elasticsearchmachine commented 4 months ago

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