Getting wrong search results

Hi Guys,

I am working with Elastic search 2.4.x.
I am getting incorrect search results:
When I search for "Bil" it returns "Billy Brag" before "Bill Bailey". I need to have "Bill Bailey" First.

Here is search query:

GET local_product_1_v3 / document / _search{
"size": 10000,
"fields": [
	"name"
],
"query": {
	"bool": {
		"should": [{
				"match": {
					"name": "bil"
				}
			}
		]
	}
}

}

Can any body help me to to get correct results, If this is only the final/correct then explain how this is works.

Why is it a better match?
What is your analyzer?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.