1. Do not use stopwords. Ever. Especially with names.
2. Do not use stemming with names. “Bill Gates” is not the same as “Bill Gate”.
You aren’t, but I thought I’d include that.
3. Mixing partail word matches and full word matches in the same search is
likely to give odd results.
4. Your require
In need to score partial match in NAME field higher than exact match in
INFOTEXT field.Actually I need to sort my SOLR result based on following
five conditions
1.First, results with a whole word match on the first or second word in the
NAME go on top.
2.Then, results with a whole word match else