lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: ranking question
Date Fri, 11 Jun 2010 21:34:05 GMT
Functions create the relevance score. Solr sorts by a function if it
is part of the search string.

On Fri, Jun 11, 2010 at 10:57 AM, Geek Gamer <geek4377@gmail.com> wrote:
> Hi ,
>
> I want to reorder the results as per function like
> sum(w0*score, w1*field1, w2*field2, w3*filed3,..)
>
> I am using solr1.4 and it seems it does not support sort by function.
>
> How can this be achieved
>
> I tried using
>  q=(query)^w0 (_val_:field1)^w1 (_val_:field2...)^w2
>
> it adds more computations using querynorms
>
> any suggestions, ideas
>
> thanks in anticipation
> umar
>



-- 
Lance Norskog
goksron@gmail.com

Mime
View raw message