You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Joe Calderon <ca...@gmail.com> on 2009/12/30 23:27:50 UTC

score = result of function query

how can i make the score be solely the output of a function query?

the function query wiki page details something like
 q=boxname:findbox+_val_:"product(product(x,y),z)"&fl=*,score


but that doesnt seems to work


--joe

Re: score = result of function query

Posted by Grant Ingersoll <gs...@gmail.com>.
On Dec 30, 2009, at 5:27 PM, Joe Calderon wrote:

> how can i make the score be solely the output of a function query?
> 
> the function query wiki page details something like
> q=boxname:findbox+_val_:"product(product(x,y),z)"&fl=*,score
> 
> 

Wrap the non-function query part in parenthesis and boost it by 0.  In Solr 1.5, you will be able to sort by function query.

-Grant