Browse Source

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.
Christoph Büscher 6 years ago
parent
commit
5be4827a78

+ 4 - 4
docs/reference/analysis/tokenfilters/synonym-graph-tokenfilter.asciidoc

@@ -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,

+ 4 - 4
docs/reference/analysis/tokenfilters/synonym-tokenfilter.asciidoc

@@ -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,