You will need to use DocValues if you want to use facets with this amount of terms and not blow the heap.
I have facets with ~39M of unique terms, the response time is about 10 ~ 40 seconds, in my case is not a problem. -- Yago Riveiro Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, January 22, 2014 at 10:59 PM, Bing Hua wrote: > Hi, > > I am going to evaluate some Lucene/Solr capabilities on handling faceted > queries, in particular, with a single facet field that contains large number > (say up to 1 million) of distinct values. Does anyone have some experience > on how lucene performs in this scenario? > > e.g. > Doc1 has tags A B C D .... > Doc2 has tags B C D E .... > etc etc millions of docs and there can be millions of distinct tag values. > > Thanks > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Lucene-Faceted-Search-Too-Many-Unique-Values-tp4112860.html > Sent from the Solr - User mailing list archive at Nabble.com > (http://Nabble.com). > >