lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Audenaerde (JIRA)" <>
Subject [jira] [Updated] (LUCENE-5476) Facet sampling
Date Thu, 06 Mar 2014 08:46:44 GMT


Rob Audenaerde updated LUCENE-5476:

    Attachment: LUCENE-5476.patch

I have a patch ready that implements the random sampling usign override on {{.getMatchingDocs()}}.
It passes the test, so it should be ok :). 

It is slower however (only 3x speedup),  but maybe there is room for optimization?

Exact  :168 ms
Sampled:55 ms

> Facet sampling
> --------------
>                 Key: LUCENE-5476
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Rob Audenaerde
>         Attachments: LUCENE-5476.patch, LUCENE-5476.patch, LUCENE-5476.patch, LUCENE-5476.patch,
LUCENE-5476.patch, LUCENE-5476.patch,,
> With LUCENE-5339 facet sampling disappeared. 
> When trying to display facet counts on large datasets (>10M documents) counting facets
is rather expensive, as all the hits are collected and processed. 
> Sampling greatly reduced this and thus provided a nice speedup. Could it be brought back?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message