Control Reranking Settings

The reranker (called Coverage before 6.0) detects whole or split words, prefixes, suffixes and near-exact hits with minor typos, and ranks the documents that hold every query word. Whole words, and a word as the start or end of a longer one, are always detected. What you can set is spread over the query's three parts: Match (what counts as a hit), Candidates (who comes in) and Ranking (the order).

In this example we allow no misspelt words, treat words written together or apart as different words, and let the whole query no longer floor the score: a mode that only looks for whole words.

csharp
var query = new Query("search terms", 30)
{
    Match = { Tolerance = Tolerance.Exact, JoinedWords = false },
    Ranking = { WholeQueryFloor = false },
};