Hi Team,
I'm using ES 1.7
I have an index containing a field named proceedingslanguage which contains a language EN, FR or DE.
The following script using Curl is giving me an empty result :
curl -XGET 'http://localhost:9200/_search?pretty' -d'{
"from" : 0,
"size" : 6,
"query" : {
"filtered" : {
"query" : {
"bool" : {
"must" : [ {
"bool" : {
"must" : {
"multi_match" : {
"query" : "EN",
"fields" : [ "proceedingslanguage_*", "proceedingslanguage_en^5.0" ],
"type" : "best_fields"
}
}
}
} ]
}
},
"filter" : {
"type" : {
"value" : "decision"
}
}
}
}
}'
Note: the same query is sending by Elasticsearch java client from an app to retrieve data by language.
The result is described below:
{
"took" : 10,
"timed_out" : false,
"_shards" : {
"total" : 27,
"successful" : 27,
"failed" : 0
},
"hits" : {
"total" : 0,
"max_score" : null,
"hits" : [ ]
}
}
Can you please give me a hand of help?
Thanks and best regards,
Mohammed ESSABRI