On Wed, May 7, 2008 at 11:34 PM, Mike Klaas <[EMAIL PROTECTED]> 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 >