I don't have much experience with faceting and its best practices though I'm sure someone else on here can pipe up to address your questions there. In the mean time have you read http://sbdevel.wordpress.com/2013/04/16/you-are-faceting-itwrong/?
On Feb 26, 2014, at 3:26 PM, David Miller <davthehac...@gmail.com> wrote: > Hi Greg, > > Yes, the memory and cpu spiked for that machine. Another issue I found in > the log was "SolrException: Too many values for UnInvertedField faceting on > field". > I was using the fc method. Will changing the method/params help? > > One thing I don't understand is that, the query was returning only a single > document, but the facet still seems to be having the issue. > > So, it should be technically possible to get facets on text field over > 200-300 million docs at a decent speed, right? > > > Regards, > > > > > > > > > On Wed, Feb 26, 2014 at 2:13 PM, Greg Walters <greg.walt...@answers.com>wrote: > >> IIRC faceting uses copious amounts of memory; have you checked for GC >> activity while the query is running? >> >> Thanks, >> Greg >> >> On Feb 26, 2014, at 1:06 PM, David Miller <davthehac...@gmail.com> wrote: >> >>> Hi, >>> >>> I am encountering an issue where Solr nodes goes down when trying to >> obtain >>> facets on a text field. The cluster consists of a few servers and have >>> around 200 million documents (small to medium). I am trying the faceting >>> first time on this field and it gives a 502 Bad Gateway error along with >>> some of the nodes going down and solr getting generally slow. >>> >>> The text field can have few words to a few thousand words. The Solr >> version >>> we are using is 4.3.0 and the Zookeeper version is 3.4.5. On checking the >>> logs, Zookeeper was giving an EndOfStreamException >>> >>> Any hint on this will be helpful. >>> >>> Thanks & Regards, >> >>