[Xapian-discuss] Obtaining actual match count if using set_collapse_key()
olly at survex.com
Mon Dec 8 00:00:57 GMT 2008
On Sat, Dec 06, 2008 at 06:56:16PM +0200, Henry wrote:
> Is it possible to obtain the actual match count if you're using
> set_collapse_key()? ie, the total count *before* the collapsing
> occurs (without using get_mset()).
> Alternatively, will MSet::get_matches_estimated() return the true -
> pre-collapse - count, or will it also be affected by collapsing?
Hmm, the API documentation is rather vague isn't it?
It's affected by collapsing - it's an estimate of the size of the MSet
if you asked for infinity documents.
More information about the Xapian-discuss