Skip to content

Commit

Permalink
Fix incorrect use of "updateable" flag in synonyms documentation (ela…
Browse files Browse the repository at this point in the history
…stic#120866)

Co-authored-by: Amine GANI <[email protected]>
Co-authored-by: Carlos Delgado <[email protected]>
  • Loading branch information
3 people committed Jan 28, 2025
1 parent c3e15ac commit 6916f41
Showing 1 changed file with 22 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,35 @@ The following example adds `my_analyzer` as a search analyzer to the `title` fie

[source,JSON]
----
{
"mappings": {
"properties": {
"title": {
"type": "text",
"search_analyzer": "my_analyzer",
"updateable": true
"search_analyzer": "my_analyzer"
}
}
},
"settings": {
"analysis": {
"analyzer": {
"my_analyzer": {
"tokenizer": "whitespace",
"filter": [
"synonyms_filter"
]
}
},
"filter": {
"synonyms_filter": {
"type": "synonym",
"synonyms_path": "analysis/synonym-set.txt",
"updateable": true
}
}
}
}
}
----


0 comments on commit 6916f41

Please sign in to comment.