|
|
|
|
|
by PeterisP
3177 days ago
|
|
There's an algorithm to rank the documents by an arbitrary metric. And there's an algorithm to calculate the number of occurrences of each search term in that document. However, those are insignificant implementation details - all the logic (and all the good and bad results) comes from the arbitrary decision to use the number of occurrences as meaningful for measuring the relevance, from the choice of heuristic. |
|
All algorithms approximate things, after all. That's simply a consequence of abstraction.