From ded367b96e90cef46ed08c649e15dba290417d55 Mon Sep 17 00:00:00 2001 From: Carlos Delgado <6339205+carlosdelest@users.noreply.github.com> Date: Thu, 19 Oct 2023 14:13:14 +0200 Subject: [PATCH] Fix examples in synonym graph token filter docs (#101101) --- .../tokenfilters/synonym-graph-tokenfilter.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/analysis/tokenfilters/synonym-graph-tokenfilter.asciidoc b/docs/reference/analysis/tokenfilters/synonym-graph-tokenfilter.asciidoc index a9bb5b72ea7c3..076d04651f290 100644 --- a/docs/reference/analysis/tokenfilters/synonym-graph-tokenfilter.asciidoc +++ b/docs/reference/analysis/tokenfilters/synonym-graph-tokenfilter.asciidoc @@ -38,7 +38,7 @@ Use `synonyms_set` configuration option to provide a synonym set created via Syn ---- "filter": { "synonyms_filter": { - "type": "synonym", + "type": "synonym_graph", "synonyms_set": "my-synonym-set", "updateable": true } @@ -51,7 +51,7 @@ Use `synonyms_path` to provide a synonym file : ---- "filter": { "synonyms_filter": { - "type": "synonym", + "type": "synonym_graph", "synonyms_path": "analysis/synonym-set.txt" } } @@ -66,7 +66,7 @@ Use `synonyms` to define inline synonyms: ---- "filter": { "synonyms_filter": { - "type": "synonym", + "type": "synonym_graph", "synonyms": ["pc => personal computer", "computer, pc, laptop"] } }