Hi all,
in lucene 4.1 there was this API
FacetResultNode.getResidue()
to understand if there are more values for a facet, than the topk
returned.
Is there a similar API in 4.2? I can't find it!
Nicola.
-
To unsubscribe, e-mai
Hi Nicola,
Yes, the residue was removed in LUCENE-4709 since it was a senseless
number. If you index your facets with OrdinalPolicy.ALL_PARENTS, then the
residue can be computed from root.value - sum(topK.value).
Also, FacetResult.numValidDescendants actually contains the right statistic
(total n