How (product) search fields are prioritised by the "?q=something" parameter?
I understand that it searches in these fields:
But, in what order are the results returned?
Let's say I perform a search for "razors",
Does a product with "razors" in its title go in front of another with "razors" in its body?
What about a product that has a variant with "razors" as sku?
Is there a rank in case a query string matches more fields?
Is this logic documented anywhere?