Hi, Can you elaborate on exactly is the problem? Which response time are you talking about - the time for the req.process() or the measured time before the document is visible in search?
Which SolrJ SolrServer class are you using? Please tell us more about your environment, documents, index size, feed speed & frequency etc. What is happening during the 25 seconds when you experience the largest delays? Can you somehow profile your application or look at the logs? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 3. nov. 2011, at 04:40, Vijay Sampath wrote: > Hi, > > I'm using CommitWithin for immediate commit. The response times are > inconsistent. Sometimes it's less than a second. Sometimes more than 25 > seconds. I'm not sending concurrent requests. Any idea? > > http://wiki.apache.org/solr/CommitWithin > > Snippet: > > UpdateRequest req = new UpdateRequest(); > req.add( solrDoc); > req.setCommitWithin(5000); > req.process( server ); > > > > Thanks, > Vijay > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SOLRJ-commitWithin-inconsistent-tp3476104p3476104.html > Sent from the Solr - User mailing list archive at Nabble.com.