Synonym doesn't work

Hi all,

I've got a problem regarding querying synonyms in Elasticsearch.

Content from synonym.txt file ( is presented below in CONFIGURATION):
vehicle => car

[HOW TO REPRODUCE]
Enter word vehicle for search

[EXPECTED Result]
Response with files that contains words vehicle and car

[ACTUAL Result]
Response with files that contains ONLY vehicle word

Configuration :

----> curl -X DELETE 'localhost:9200/docs/'
----> curl -X PUT 'localhost:9200/docs/' -d '
{
"settings" : {
"index" : {
"number_of_shards" : 1,
"number_of_replicas" : 0,
"analysis" : {
"analyzer" : {
"ta" : {
"type" : "custom",
"tokenizer" : "standard",
"filter" : [ "standard", "word_delimiter", "lowercase", "synonym", "stop", "kstem" ]
}
},
"filter" : {
"synonym" : {
"type" : "synonym",
"synonyms_path" : "analysis/synonym.txt"
}
}
}
}
}
}'

analysis/synonym.txt is in config folder from elasticsearch.

content from synonym.txt file :
vehicle => car

-----> curl -XPUT 'http://localhost:9200/docs/doc/_mapping' -d '
{
"doc" : {
"properties" : {"file" : {"type" : "attachment","path" : "full","fields" : {"file" : {"type" : "string","store" : "yes","term_vector" : "with_positions_offsets","index" : "analyzed","analyzer" : "french"},"author" : {"type" : "string"},"title" : {"type" : "string","store" : "yes"}, "name" : {"type" : "string"},"date" : {"type" : "date","format" : "dateOptionalTime"},"keywords" : {"type" : "string"},"content_type" : {"type" : "string" }}}, "name" : {"type" : "string","analyzer" : "keyword"},"pathEncoded" : {"type" : "string","analyzer" : "keyword"}, "postDate" : {"type" : "date","format" : "dateOptionalTime"},"rootpath" : {"type" : "string","analyzer" : "keyword"},"virtualpath" : { "type" : "string","analyzer" : "keyword"}}}}'

-----> curl -XPUT 'localhost:9200/_river/docsRiver/_meta' -d '{
"type": "fs",
"fs": {
"name": "docsRiver",
"url": "D:\files",
"update_rate": 180000,
"includes": [ ".doc" , ".xls", ".pdf", ".txt" ]
},
"index": {
"index": "docs",
"type": "doc",
}
}'

Has anyone any clue?