The stopword filter should be on the same level as the synonym filter in the example request. Correcting this for better readability.
@@ -69,10 +69,10 @@ PUT /test_index
}
},
"filter" : {
- "my_stop": {
- "type" : "stop",
- "stopwords": ["bar"]
- },
+ "my_stop": {
+ "type" : "stop",
+ "stopwords": ["bar"]
+ },
"synonym_graph" : {
"type" : "synonym_graph",
"lenient": true,
@@ -58,10 +58,10 @@ PUT /test_index
"synonym" : {
"type" : "synonym",