Apologies for late reply, Thanks Toke for a great explaination :) I am new in solr so i am unaware of DocValues, so please can you explain.
With Regards Aman Tandon On Fri, May 2, 2014 at 1:52 PM, Toke Eskildsen <t...@statsbiblioteket.dk>wrote: > On Thu, 2014-05-01 at 23:03 +0200, Aman Tandon wrote: > > So can you explain how enum is faster than default. > > The fundamental difference is than enum iterates terms and counts how > many of the documents associated to the terms are in the hits, while fc > iterates all hits and updates a counter for the term associated to the > document. > > A bit too simplified we have enum: terms->docs, fc: hits->terms. enum > wins when there are relatively few unique terms and is much less > affected by index updates than fc. As Shawn says, you are best off by > testing. > > > We are planning to move to SolrCloud with the version solr 4.7.1, so does > > this 14 GB of RAM will be sufficient? or should we increase it? > > Switching to SolrCloud does not change your fundamental memory > requirements for searching. The merging part adds some overhead, but > with a heap of 14GB, I would be surprised if that would require an > increase. > > Consider using DocValues for facet fields with many unique values, for > getting both speed and low memory usage at the cost of increased index > size. > > - Toke Eskildsen, State and University Library, Denmark > > >