lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Umar Shah" <u...@wisdomtap.com>
Subject Re: Function Query result
Date Thu, 08 May 2008 06:40:25 GMT
On Wed, May 7, 2008 at 11:34 PM, Mike Klaas <mike.klaas@gmail.com> wrote:

>
> On 7-May-08, at 5:01 AM, Umar Shah wrote:
>
>  Hi,
>>
>> I want to use result of a  function query based on multiple field values
>> for
>> ranking the results,
>> can I also return the value of the computed function along with other
>> fields
>> of the documents returned.
>>
>
> If you score documents based on a function query, then the each document's
> score will be the result of the function.
>
> Unfortunately, you can only return the result of one function this way.


That  would be sufficient for my requirements,
I'm using the following query params
q=*:*
 &_val_:function(blah, blah)
&fl=*,score

I'm not getting the value, value of score =1,
am I missing something?

-umar


>
> -Mike
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message