Stop Words

I want to add stop words dynamically also i want to ask ,how can i add stop words list from my custom file .I tried and created a file but itis not working .

File location = /config/stopwords/my_fil.txt

PUT /my_index3
{
"settings": {
"analysis": {
"analyzer": {
"my_analyzer": {
"type": "standard",
"stopwords": "english",
"stopwords_path": "/stopwords/stop_words.txt"
}
}
}
}
}

Not working how? What errors are you seeing?

Actually , there was some issue from my side ....I didn't put all stop words files on all nodes.Now its working ..
Thnx

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