Synonyms are giving incorrect results when querying?

Not able to get proper results only in case of Delhi and india , rest are
giving proper results.
#####################
Schema :

curl -XPUT "http://localhost:9200/sun" -d'
{
'settings': {
"index": {
"analysis" : {
"analyzer" : {
"my_search_analyzer" : {
"tokenizer" : "whitespace",
"filter" : ["standard", "asciifolding", "lowercase", "kstem",
"search_synonym"]
}
},
"filter" : {
"search_synonym" : {
"type" : "synonym",
"expand" : true,
"synonyms_path" : "analysis/synonym.txt"
}
}
}
}
},
"mappings": {
"deal": {
"properties": {
"description": {
"type": "string",
"index_analyzer": "standard",
"search_analyzer": "my_search_analyzer"
}
}
}
}
}'

##########################

Sample Data Inserted:

curl -XPOST "http://localhost:9200/sun/deal" -d'
{
"description": "Delhi is getting polluted day by day."
}'

curl -XPOST "http://localhost:9200/sun/deal" -d'
{
"description": "New delhi is capital of india ."
}'
curl -XPOST "http://localhost:9200/sun/deal" -d'
{
"description": "rajiv chowk is located in the heart of city."
}'
curl -XPOST "http://localhost:9200/sun/deal" -d'
{
"description": "new delhi is a great place to visit."
}'

curl -XPOST "http://localhost:9200/sun/deal" -d'
{
"description": "county india is getting polluted day by day ."
}'

curl -XPOST "http://localhost:9200/sun/deal" -d'
{
"description": "Delhi is getting polluted day by day now ."
}'

#######################
*synonym.txt *

delhi => delhi,new delhi,rajiv chowk,india
india => delhi,new delhi,rajiv chowk,india
rajiv chowk => delhi,new delhi,rajiv chowk,delhi,india
new delhi => delhi,new delhi,rajiv chowk,india

Query:
curl -XPOST "http://localhost:9200/sun/_search?pretty" -d'
{
"query": {
"match_phrase": {
"description": "india"
}
}
}'

This query is not returning india and delhi in results

whereas keywords like new delhi , rajiv chowk are giving correct results ..

Anyidea whats wrong is happening in above query ??

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2eb2e8aa-e3e0-40c6-b4a3-f10b1e374122%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.