Elasticsearch stopwords at query time

Hi ,

We are using Elasticsearch 7.10 which is an opensearch and we are trying to enable stopwords at search time, when the file gets updated.

There is a stopword file in AWS s3 bucket and when stopword file has been modified by the user the package gets associated in Opensearch and that stopword should reflect in the search in near real time without re-indexing.

Below are the settings configured in mapping.
"stopwords_filter" : {
"type" : "stop",
"stopwords_path" : "analyzers/"


"synonyms_analyzer" : {
"filter" : [ "lowercase", "synonyms_filter", "stopwords_filter" ],
"type" : "custom",
"tokenizer" : "standard"

Can someone help us on this.

Thanks in advance !

OpenSearch/OpenDistro are AWS run products and differ from the original Elasticsearch and Kibana products that Elastic builds and maintains. You may need to contact them directly for further assistance.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.