You should be able to use f.<fieldname>.method=enum Alan Woodward www.flax.co.uk
On 22 Sep 2014, at 16:21, jerome.dup...@bnf.fr wrote: > Hello, > > I have a solr index (12 M docs, 45Go) with facets, and I'm trying to > improve facet queries performances. > 1/ I tried to use docvalue on facet fields, it didn't work well > 2/ I tried facet.threads=-1 in my querie, and worked perfectely (from more > 15s to 2s for longest queries) > > 3/ I'm trying to use facet.method=enum. It's supposed to improve the > performance for facets fileds with few differents values. (type of > documents, things like that) > > My problem is that I don't know if there is a way to specifiy enum method > for some facets (3 to 5000 different values), and fc method the some > others (up to 12M different values) and the same query? > > Is it possible with something like MyFacet..facet.method=enum > > ? > > Thanks in advance for the answer. > > ----------------------------------------------- > Jérôme Dupont > Bibliothèque Nationale de France > Département des Systèmes d'Information > Tour T3 - Quai François Mauriac > 75706 Paris Cedex 13 > téléphone: 33 (0)1 53 79 45 40 > e-mail: jerome.dup...@bnf.fr > ----------------------------------------------- > > > Participez à l'acquisition d'un Trésor national - Le manuscrit royal de > François I er Avant d'imprimer, pensez à l'environnement.