Consider upgrading to the 3.1 branch which gives you true sort by function
http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function
--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Training in Europe - www.solrtraining.com
On 18. juni 2010, at 01.23, Chris Hostetter wr
: 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
try fq=(query
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 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 se
you need to elaborate a little more on what yo uare currently doing, and
what you want to be doing... youmention "my own ranking/scoring system"
... is this something you've implemented in code already? Is this a custom
Simalrity class or Query class, or something basic htat you've done with a
cus