Skip to content

Commit

Permalink
Correct indention in synonym docs (elastic#40711)
Browse files Browse the repository at this point in the history
The stopword filter should be on the same level as the synonym filter in the
example request. Correcting this for better readability.
  • Loading branch information
Christoph Büscher committed Apr 1, 2019
1 parent 7801c9f commit 8b78c54
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ PUT /test_index
}
},
"filter" : {
"my_stop": {
"type" : "stop",
"stopwords": ["bar"]
},
"my_stop": {
"type" : "stop",
"stopwords": ["bar"]
},
"synonym" : {
"type" : "synonym",
"lenient": true,
Expand Down

0 comments on commit 8b78c54

Please sign in to comment.