below is the setting and mapping with the synonym analyzer and filter
"synonym_index": {
"settings": {
"index": {
"creation_date": "1464673842267",
"uuid": "Uo63AdrETXqF2pH_6-vaPA",
"number_of_replicas": "1",
"analysis": {
"filter": {
"my_synonym_filter": {
"type": "synonym",
"synonyms": [
"clutch,grip,grasp,clasp,cling",
"suspension,remission,quiescence,dormancy",
"plunger,Piston,trumpet,bung",
"mileometer,odometer,speedometer",
"accelerator,throttle,atom smasher,gun",
"alternater,alturnater,allturnator,substitute,alternator",
"haindCleener,haandCleaner,haandCleener,handCleaner",
"anti seize,antiiseeze,antiseige,antiseize",
"emission,edission,emmission"
]
}
},
"analyzer": {
"my_synonyms": {
"filter": [
"lowercase",
"my_synonym_filter"
],
"tokenizer": "standard"
}
}
},
"number_of_shards": "5",
synonyms parameter has some list synonyms, i want to add synonyms dynamically through the java Application without closing or reindexing the index,
is there any way to achieve this. looking for soluation
thanks for the support in advance .