Are you looking for the sum of the scores of each document in the
result? In other words, if there were 1000 documents in the numFound
but you only of course show 10 (or 0 depending on rows parameter) you
want the sum of all the scores of 1000 documents in a separate section
of the results?

If so, I have some code and a blog post that I am going to write soon
about it. Shoot me a private note and I'll zip and send to you. I have
it as a separate component.

Thanks
Amit

On Sun, Oct 14, 2012 at 4:47 PM, Erick Erickson <erickerick...@gmail.com> wrote:
> bq:   is there any way to get a sum of all the scores for a query
>
> not that I know of. I'm not sure what value this would be anyway,
> what do you want to use it for? This seems like an XY problem...
>
> Best
> Erick
>
> On Sun, Oct 14, 2012 at 4:39 PM, Gilles Comeau <gilles.com...@polecat.co> 
> wrote:
>> Hi all,
>>
>> Very quick question:   Score is created for each query, however is there any 
>> way to get a sum of all the scores for a query in the URL?
>>
>> I've tried stats and it didn't work, and also had no luck with function 
>> queries.  Does anyone know a way to do this?
>>
>> Kind Regards,
>>
>> Gilles

Reply via email to