Re: lucene 4.2 count on merged taxonomies

2013-04-11 Thread Nicola Buso
Hi, I'm currently calling: FacetsCollector.create(new StandardFacetsAccumulator(facetSearchParams, indexReader, getTaxonomyReader()) that is calling FacetRequest.createAggregator(...) and is not working properly; I'm extending the CountingAggregator and than Aggregator, if I override FacetAccu

Re: lucene 4.2 count on merged taxonomies

2013-04-11 Thread Shai Erera
Hi Nicola, I didn't read the code examples, but I'll relate to your last question regarding the Aggregator. Indeed, with Lucene 4.2, FacetRequest.createAggregator is not called by the default FacetsAccumulator. This method should go away from FacetRequest entirely, but unfortunately we did not fin

lucene 4.2 count on merged taxonomies

2013-04-11 Thread Nicola Buso
Hi all, in Lucene 4.1, after some advise from the mailing list I am merging taxonomies (in memory because of the small size of taxonomies indexes) and collecting facets values from the merged taxonomy instead of the single ones; the scenario is: - you have a Multireader pointing to more indexes -