lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Buso <nb...@ebi.ac.uk>
Subject Re: Hierarchical Facets need duplicated counts
Date Thu, 07 Jul 2016 12:57:50 GMT
Any hint on how to calculate these values without asking the whole
facet hierarchy and count them?

Is there a specific point in the code where I can check for this
distinct count, and maybe modify the code?


Nicola


On Wed, 2016-07-06 at 13:42 +0100, Nicola Buso wrote:
> Hello everyone,
> 
> we are using hierarchical facets (from
> org.apache.lucene.facet.taxonomy), in our case 1 entry can have
> several
> values referencing more leaves in the hierarchical facet.
> 
> At search time we are noticing that if we search for exactly 1 entry
> we
> have count = 1 in the hierarchical facet root and navigating the
> hierarchical tree there are more than 1 leaf with count = 1. We
> presume
> this is due to a distinct count it's calculated in the collector.
> 
> Is it possible to have also the duplicated count? What we would like
> to
> achieve is to understand how many leaves the search is reaching and
> maybe have this "duplicated count" summed up in the parent nodes.
> 
> Do you have any hints on how to achieve it?
> 
> Regards,
> 
> 
> 
> Nicola
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message