when i search a string like "3d sy" it gives me the result from elastic
search index document and works fine, but if i search the string like "3d
s" it gives me no result.
same thing happened with "Microsoft co", but it works fine for "Microsoft
cor"
i am using the "match" query for fetching the result.
My Query is :
{"from":0,"size":10, "query":{
"custom_score" : {
"query" : {
"match" : {"COMPANY" : {"query" : "3d s", "type" :
"phrase_prefix", "boost":2}}
},
"script" : "_score/_score * doc['COUNT'].value"
}
}
}
In the above query i have customized my score, because it's required for me.
can anyone help how to resolve this issue.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.