4.5.2 Scoring

Scoring in p-search is simple:

Other search systems employ a scoring system that incorporates additive elements as well as multiplicative. The problem with such an approach for p-search is that it ruins composability. p-search is meant to be a tool to generate search setups on the fly. Having a formula like SCORE = FILE-SCORE * 1.2 + QUERY-SCORE * 1.3 + GIT-AUTHOR * 2 would require the user to evaluate each piece of the equation when any change is made.

A prior should assign a score to a document according to the following criteria: