Hi, from my experience when you have to scale in the number of documents it's good idea to use shards (so one schema and N shards containing (1/N)*total#docs) while if the requirement is granting high query volume response you could get a significant boost from replicating the same index on 2 or more machines and do load balancing on those machines (consider that in most cases a "round robin" LB works pretty well). So I think you should look inside the replication wiki page [1]. To check your Tomcat installation the related wiki page may also be useful [2]. My 2 cents, Tommaso
[1] : http://wiki.apache.org/solr/SolrReplication [2] : http://wiki.apache.org/solr/SolrTomcat 2011/3/8 rajini maski <rajinima...@gmail.com> > In order to increase the Java heap memory, I have only 2gb ram… so > my default memory configuration is --JvmMs 128 --JvmMx 512 . I have the > single solr data index upto 6gb. Now if I am trying to fire a search very > often on this data index, after sometime I find an error as java heap space > out of memory error and search does not return results. What are the > possibilities to fix this error? (I cannot increase heap memory) How about > having another tomcat instance running (how this works? )or is it by > configuring shards? What is that might help me fix this search fail? > > > Rajani >