mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 17:38:44 +00:00
Correct indention in synonym docs (#40711)
The stopword filter should be on the same level as the synonym filter in the example request. Correcting this for better readability.
This commit is contained in:
parent
899ed2bf81
commit
dfc70e6ef0
@ -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
|
||||
}
|
||||
},
|
||||
"filter" : {
|
||||
"my_stop": {
|
||||
"type" : "stop",
|
||||
"stopwords": ["bar"]
|
||||
},
|
||||
"my_stop": {
|
||||
"type" : "stop",
|
||||
"stopwords": ["bar"]
|
||||
},
|
||||
"synonym" : {
|
||||
"type" : "synonym",
|
||||
"lenient": true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user