the problem is how do I determine for each document the degree of
separation and then apply boosting for example -
say there is a user A - with friends X, Y, Z and another User B with
friends L, M
if there is a doc in index D1, with author field as Z and another doc D2 in
index with author as L,
 It will be difficult to store degree of separation per user as an index
field on the doc D1 and D2.. because for user A D1 has higher relevance but
for user B its D2..
Is there a way to write our own elevation component in Solr..

On Thu, Apr 5, 2012 at 12:29 PM, William Bell <billnb...@gmail.com> wrote:

> 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
>

Reply via email to