How well one search word matches a field: a whole-word hit beats a prefix,
a prefix beats a substring, and a substring beats the word's letters
appearing in order within one word of the field, which forgives a typo
without letting a long description match anything. Zero when none hold.
How well one search word matches a field: a whole-word hit beats a prefix, a prefix beats a substring, and a substring beats the word's letters appearing in order within one word of the field, which forgives a typo without letting a long description match anything. Zero when none hold.