Copy the index. Delete half of the documents. Optimize. Copy the index. Delete the other half of the documents. Optimize.
2010/9/28 newsam <new...@zju.edu.cn>: > I guess you are correct. We used the default SOLR cache configuration. I will > change the cache configuration. > > BTW, I want to deploy several shards from the existing 8G index file, such as > 4G per shards. Is there any tool to generate two shards from one 8G index > file? > >>From: kenf_nc <ken.fos...@realestate.com> >>Reply-To: solr-user@lucene.apache.org >>To: solr-user@lucene.apache.org >>Subject: Re: Re:The search response time is too loong >>Date: Mon, 27 Sep 2010 05:37:25 -0700 (PDT) >> >> >>"mem usage is over 400M", do you mean Tomcat mem size? If you don't give your >>cache sizes enough room to grow you will choke the performance. You should >>adjust your Tomcat settings to let the cache grow to at least 1GB or better >>would be 2GB. You may also want to look into >>http://wiki.apache.org/solr/SolrCaching warming the cache to make the first >>time call a little faster. >> >>For comparison, I also have about 8GB in my index but only 2.8 million >>documents. My search query times on a smaller box than you specify are 6533 >>milliseconds on an unwarmed (newly rebooted) instance. >>-- >>View this message in context: >>http://lucene.472066.n3.nabble.com/Re-The-search-response-time-is-too-loong-tp1587395p1588554.html >>Sent from the Solr - User mailing list archive at Nabble.com. >> -- Lance Norskog goks...@gmail.com