I am new to Elastic Search and trying to work with synonyms. I have a synonym.txt file but not sure how to upload it to ES. IF there is anyone to help out, it would be great
You can upload it during index creation in the settings
, example :
{
"settings": {
"analysis": {
"filter": {
"my_synonym": {
"type": "synonym",
"synonym_path": "./synonym.txt"
}
}
}
}
}
Read more about it in here