From dfc70e6ef0746242464e8bbec10ebbeead89b914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Tue, 2 Apr 2019 01:43:02 +0200 Subject: [PATCH] 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. --- .../tokenfilters/synonym-graph-tokenfilter.asciidoc | 8 ++++---- .../analysis/tokenfilters/synonym-tokenfilter.asciidoc | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/reference/analysis/tokenfilters/synonym-graph-tokenfilter.asciidoc b/docs/reference/analysis/tokenfilters/synonym-graph-tokenfilter.asciidoc index fa228abd74a..785eb77f2c6 100644 --- a/docs/reference/analysis/tokenfilters/synonym-graph-tokenfilter.asciidoc +++ b/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, diff --git a/docs/reference/analysis/tokenfilters/synonym-tokenfilter.asciidoc b/docs/reference/analysis/tokenfilters/synonym-tokenfilter.asciidoc index 715abdde633..87c99f6f386 100644 --- a/docs/reference/analysis/tokenfilters/synonym-tokenfilter.asciidoc +++ b/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,