I was unable to find any information on how to do this, or if it is even possible.
Anyway. Given the query FindClient.UnifiedSearchFor("Christmas tree") you could expect results containing "christmas", "tree", and possibly even "christ". They all receive different scores based on how good the match was. So if i have content explicitly about christmas trees it would receive a great score and end up at the top of the search. A page about "Our lord Jesus Christ" will receive less and end up further down the result set.
Lets say the best match got a score of 6, and the worst match got a score of 0.1. What I would want to be able to do is to tell my query that i want no hits worse than .5 in score difference compared to the best hit. Or at the very least. I want no hits with less than a score of 1. How would I go about doing this?
My real life problem is that when we search our site for a person, that person shows up on the top. But that persons name is comprised of words and part of words that match totally irrelevant article content which will also show up without having any real relevance to the person the user searched for.
Could you please share one or two real life search queries in detail and any irrelevant article content?
I was thinking something along the lines of what Elastic Search says here...
I found it...
public static ITypeSearch<T> WithMinScore<T>(this ITypeSearch<T> query, double minScore)
return new Search<T, IQuery>(query, context => context.RequestBody.MinScore = minScore);