On Thu, Apr 9, 2009 at 10:36 PM, vivek sar <vivex...@gmail.com> wrote:
> I'm inserting 10K in a batch (using addBeans method). I read somewhere > in the wiki that it's better to use the same instance of SolrServer > for better performance. Would MultiThreadedConnectionManager help? How > do I use it? > If you are not passing your own HttpClient to the CommonsHttpSolrServer constructor then you do not need to worry about this. The default is the MultiThreadedConnectionManager. > > I also wanted to know how can use EmbeddedSolrServer - does my app > needs to be running in the same jvm with Solr webapp? > Actually with EmbeddedSolrServer, there is no Solr webapp. You add it as another jar in your own webapp. -- Regards, Shalin Shekhar Mangar.