Having problem to match the search result with search query
I am having a big problem to match the search query with search result. It seems that the result showing is not in correct order. The example is as below;
My search query is "Juairiyah bint al-Harith" without the quote and when I get the result then the first result is coming with the word "al-Harith" while the full match should come at the first and then gradually the partial match result will come at the end. I could not figure it out what is the cause of this problem. When I make exact match then it works but in normal search the result mismatch. Pls help me to figure out the problem.
I am passing the ftp info in private.