Hey, Synonym filter has its own tokenizer which is not the same as one defined for synonym analyzer. You need to define the tokenizer inside the synonym filter:
"filter":{ "syns_filter":{ "synonyms_path":"synonyms/synonym_collegename.txt", "type":"synonym", "tokenizer":"keyword", "ignore_case":true } } -- 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/3390e6e4-5f0e-448a-bcc2-e3385200731b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.