Suppose I have two documents with just one field as follows:
Document 1: foo bar 1
Document 2: foo baz 2
And a user searches for "foo baz 1"
Doucment 1 matches "foo" and "1" and Document 2 matches "baz" and "foo" so they would ordinarily be tied. Is there any way to weight a match on a number higher than a match on text that would cause Document 1's match to be preferred over Document 2?
I don't want to boost by the number that matched, I want all numbers to be boosted by the same amount.