Hi, I was thinking about it, what is needed is the 1st, than, supposing FacetRequest maxCount is setted to 10 I want the latest 10 years with respective counts, also if on year 2000 there are more counts than in 2013.
Nicola. On Tue, 2013-07-02 at 18:40 +0300, Shai Erera wrote: > Do you want your top-K to be computed by label too? Or first deduce > the top-K facets, then sort them otherwise? > > Shai > > > > On Tue, Jul 2, 2013 at 6:36 PM, Nicola Buso <nb...@ebi.ac.uk> wrote: > Hi, > > I was looking to change the order of the facet results; in > this case I > would like to order by the facet label instead of the facet > value > (count). > > An example is a facet on dates; suppose the facet is saved as > YYYY/MM/dd, I would like obtain values for this date ordered > by the > date; i.e. with depth 1: > > 2013 (2,403,222) > 2012 (3,632.098) > 2011 (1,213,990) > .... > > is this possible? > > > Nicola > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: > java-user-h...@lucene.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org