What is the correct way to implement a custom ranking algorithm for Solr/Lucene?
I read about Zvents implementing a Distance Weighting ranking system for documents which correspond to events in a specific geographic area (http://www.lucidimagination.com/Community/Hear-from-the-Experts/Articles/Zvents).
I would like to do something similar: I index ads in different cities and I would like to boost the relevance of nearest ads given a specific location.