Re: solrj indexing using embedded solr is slow

2013-06-28 Thread Erick Erickson
First, how much slower? 2x? 10x? 1.1x? When using embedded, you're doing all the work you were doing on two machines on a single machine, so my first question would be how is your CPU performaing? Is it maxed? Best Erick On Thu, Jun 27, 2013 at 1:59 PM, Learner wrote: > Shawn, > > Thanks a lo

Re: solrj indexing using embedded solr is slow

2013-06-27 Thread Learner
Shawn, Thanks a lot for your reply. I have pasted my entire code below, it would be great if you can let me know if I am doing anything wrong in terms of running the code in multithreaded environment. http://pastebin.com/WRLn3yWn -- View this message in context: http://lucene.472066.n3.nabbl

Re: solrj indexing using embedded solr is slow

2013-06-27 Thread Shawn Heisey
On 6/27/2013 9:19 AM, Learner wrote: I was using ConcurrentUpdateSOLR for indexing documents to Solr. Later I had a need to do portable indexing hence started using Embedded solr server. I created a multithreaded program to create /submit the documents in batch of 100 to Embedded SOLR server (ru