I am using ConcurrentUpdateSolrserver to create 4 threads (threadCount=4)
with queueSize of 30000.

Indexing works fine as expected.

My issue is that, I see that the documents are getting adding to server even
before it reaches the queue size.  Am I doing anything wrong? Or is
queuesize not implemented yet?

Also I dont see a very big performance improvements when I increase /
decrease the number of threads. Can someone let me know the best way to
improve indexing performance when using ConcurrentUpdateSolrserver

FYI... I am running this program on 4 core machine.. 

Sample snippet:

                ConcurrentUpdateSolrServer server = new 
ConcurrentUpdateSolrServer(
                                solrServer, 30000, 4);
try {
                        while ((line = bReader.readLine()) != null) {
                                inputDocument = line.split("\t");
                          Do some processing....
                        server.add(doc);

}}




--
View this message in context: 
http://lucene.472066.n3.nabble.com/ConcurrentUpdateSolrserver-Queue-size-not-working-tp4071408.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to