I am sorry for the vague question; I should have phrased it better. Yes, I am aware of the fact that you could upload the synonyms from a file. But this does not work out in my scenario because, I would like the synonym to be updated by my application program. As I understand, it is not yet possible to update the synonyms.txt through the application program. Hence I was wondering if I could provide the synonym mapping from a database/URL so that it could be updated through my application.
On Saturday, April 5, 2014 1:47:16 AM UTC+5:30, Binh Ly wrote: > > Not sure I understand your question completely, but you can define a > synonym filter to read from an external file it that matters: > > "filter": { > "syn1": { > "type": "synonym", > "synonyms_path": "synonyms.txt" > } > } > > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/58576ccd-b3b2-4661-9b0e-7eba99f3258a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.