I am working on Elastic Search 6.4.2. I want to apply stopwords filter to my index inorder to restrict the stopwords queries. I added my_stopwords.txt in the config. I added stopword analyzers but when I check in Kibana the stopwords still searching theindex. How can I restrict this.
PUT /some-index
{
"settings":{
"analysis":{
"analyzer":{
"blogs_analyzer":{
"type":"standard",
"stopwords_path":"stopwords/my_stopwords.txt"
}
}
}
},
"mappings":{
"doc":{
"_source":{
"enabled":true
},
"properties":{
"content":{
"type":"text",
"index":"true",
"store":true,
"analyzer":"blogs_analyzer",
"search_analyzer":"blogs_analyzer"
},
"host":{
"type":"keyword"
},
"title":{
"type":"text",
"index":"true",
"store":true,
"analyzer":"blogs_analyzer",
"search_analyzer":"blogs_analyzer"
},
"url":{
"type":"keyword"
}
}
}
}
}