The necessary Models to store the popularity score for each onion,
as well as the statistics of the last calculation (links, domains)
added a subfolder ahmia/ahmia/lib that contains the PagePop algorithm
implementation. Other helper modules could be stored in this folder in
the future.
A management command to build popularity index and save it in the DB
search/views.py updated to sort results based on both IR score
(the one ES calculates) and PP score (provided by the aforementioned
command). Optimizing the formula handling those scores is Black Art and
needs further testing
Admin page updated to display the PapePop scores
Update README.md
The current results of the integration don't seem perfect, but we are going to improve further the algorithm
The current results of the integration don't seem perfect, but we are going to improve further the algorithm
ref: #30