Daniel, I've been able to post documents to Solr without degrading the performance of search. But, I did have to make some changes to the solrconfig.xml (ramBufferSize, mergeFactor, autoCommit, etc).
What I found to be helpful was having a look at what was the causing the OS to grind. If your system is swapping too much to disk, you can check if bumping up the ram (-Xms512m -Xmx1024m) alleviates it. Even if this isn't the fix, you can at least isolate if it's a memory issue, or if your issue is related to a disk I/O issue (e.g. running optimization on every commit). Also, is worth having a look in your logs to see if the server is having complaints about memory or issues with your schema, or some other unexpected issue. A resource that has been helpful for me http://wiki.apache.org/solr/SolrPerformanceFactors -----Original Message----- From: Daniel Huss [mailto:hussdl1985-solrus...@yahoo.de] Sent: Sunday, 1 May 2011 5:35 AM To: solr-user@lucene.apache.org Subject: Searching performance suffers tremendously during indexing Hi everyone, our Solr-based search is unresponsive while documents are being indexed. The documents to index (results of a DB query) are sent to Solr by a daemon in batches of varying size. The number of documents per batch may vary between one and several hundreds of thousands. Before investigating any further, I would like to ask if this can be considered an issue at all. I was expecting Solr to handle concurrent indexing/searching quite well, in fact this was one of the main reasons for chosing Solr over the searching capabilities of our RDMS. Is searching performance *supposed* to drop while documents are being indexed?