We are trying to set a custom list of stop words for default search by
adding the following to elasticsearch.yml:
filter: [standard, lowercase, trim]
stopwords: [email, telephone]
In other words, although we do want ElasticSearch to index tokens like
"email" and "telephone", we want to prohibit searches on these words by
however pulls up all results that match "email". I notice that if we query
on pre-defined stopwords such as "by" the query returns no results.
Am I doing something wrong in my stopwords definition that would cause my
custom list to be ignored and defaults to be used instead?