log number of hits returned

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

log number of hits returned

Yonik Seeley-2
I just noticed that the "hits" parameter that gets logged seems to be
returning the number of documents actually returned, not the number of
documents that matched the query + filters.  Should it?

num docs returned can be derived from num docs matched and
offset,rows, but not vice-versa.

-Yonik
Reply | Threaded
Open this post in threaded view
|

Re: log number of hits returned

Erik Hatcher
Ouch.... yes, it definitely should log the total number hits, not the  
number of documents returned.

        Erik

On Sep 10, 2008, at 12:19 PM, Yonik Seeley wrote:

> I just noticed that the "hits" parameter that gets logged seems to be
> returning the number of documents actually returned, not the number of
> documents that matched the query + filters.  Should it?
>
> num docs returned can be derived from num docs matched and
> offset,rows, but not vice-versa.
>
> -Yonik