Re: FacetRequest include residue

2013-01-30 Thread Nicola Buso
Hi Shai, your solution sound good to me, an accumulator that can add in the counting some "exception". Nicola. On Wed, 2013-01-30 at 08:13 +0200, Shai Erera wrote: > Hi Nicola, > > > There might be a way to do what you want, with some coding on your > part. If you're interested in counting th

Re: FacetRequest include residue

2013-01-29 Thread Shai Erera
Hi Nicola, There might be a way to do what you want, with some coding on your part. If you're interested in counting the top-10 of the "Brand" facet, but also return the count of "Brand/X", even if it's not in the top-10, then what you should do is write code similar to this: FacetArrays facetArr

Re: FacetRequest include residue

2013-01-29 Thread Shai Erera
Hi Nicola, How does the interface allow the user to select a facet values not from the top-10? How does the interface know which other facet values are there? Does it query the taxonomy somehow? One thing you can do is to set numResults to Integer.MAX_VALUE and numToLabel to 10. That way your Fac

FacetRequest include residue

2013-01-29 Thread Nicola Buso
Hi, I have a FacetRequest with numResults setted to 10, how can I specify additional facets value to add to the FacetResult? I try to explain the use-case: - the user view 10 facet result - the interface permit the user to choose a facet value not from the top-10 results - the user execute the qu