If you have degree of separation (like friend). You could do something like:
...defType=dismax&bq=degree_of_separation:1^100 Thanks. On Thu, Apr 5, 2012 at 12:55 AM, Monmohan Singh <monmo...@gmail.com> wrote: > Hi, > Any inputs or experience that others have come across will be really > helpful to know. > Basically, its the same as page ranking but the information used to decide > the rank is much more dynamic in nature.. > Appreciate any inputs. > Regards > Monmohan > > On Wed, Apr 4, 2012 at 4:22 PM, monmohan <monmo...@gmail.com> wrote: > >> Hi, >> My index is composed of documents with an "author" field. My system is a >> users portal where they can have a friend relationship among each other. >> When a user searches for documents, I would like to boost score of docs in >> which author is friend of the user doing the search. Note that the list of >> friends for a user can be potentially big and dynamic (changing as the user >> makes more friends) >> >> Is there a way to do this kind of boosting at query time? I have looked at >> External field, query elevator and function queries but it appears that >> none >> of them >> >> Since the list of friends for a user is dynamic and per user based, it >> can't >> really be added as a field in the index for each document so I am not >> considering that option at all. >> Regards >> Monmohan >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/query-time-customized-boosting-tp3883743p3883743.html >> Sent from the Solr - User mailing list archive at Nabble.com. >> -- Bill Bell billnb...@gmail.com cell 720-256-8076