update ad ranking alg & add db port
update ranking alg, add port
Merge branch 'master' of github.com:oveis/Web_Search_Engine