[
https://issues.apache.org/jira/browse/LUCENE-5476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919160#comment-13919160
]
Rob Audenaerde commented on LUCENE-5476:
----------------------------------------
btw:
My use case is that I would like to present a 'overview' of the search results
using facets. Because the index might well be over 10M documents, I need the
speed-up that comes from sampling the facets. The results do not need to be
exact; as the user will be informed that the results are estimated.
I do want to provide a 'order of magnitude' comparison, that is why I need the
{{correctCountFacetResults}}. It is easier for the user to see that it is about
10.000 than just provide a percentage.
> 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, LUCENE-5476.patch, LUCENE-5476.patch,
> SamplingComparison_SamplingFacetsCollector.java, 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.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]