[ 
https://issues.apache.org/jira/browse/LUCENE-5476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917189#comment-13917189
 ] 

Michael McCandless commented on LUCENE-5476:
--------------------------------------------

I don't think we need a sampling package (overkill), and I also don't think we 
need a separate "config" class (SamplingParams/Config) which will bring 
complexity/questions itself; I think it's a non-goal here to revive the 
previous sampling implementation with all of its complexity, nor to push all of 
this responsibility onto Rob, who's doing great work here.

Rather, I think we should start simple (what Rob needs, here), commit that, and 
iterate from there, bringing back features as users need them.

> Facet sampling
> --------------
>
>                 Key: LUCENE-5476
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5476
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Rob Audenaerde
>         Attachments: LUCENE-5476.patch, SamplingFacetsCollector.java
>
>
> 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
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to