Skip to content

Commit

Permalink
Fix examples in synonym graph token filter docs
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosdelest committed Oct 19, 2023
1 parent eb93726 commit 9687919
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -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"
}
}
Expand All @@ -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"]
}
}
Expand Down

0 comments on commit 9687919

Please sign in to comment.