What does the committers think about adding a index queue in Solr? Then we can have lots of one-off index requests that would queue up...
On Fri, Jul 22, 2011 at 3:14 AM, Pierre GOSSE <pierre.go...@arisem.com> wrote: > Solr still respond to search queries during commit, only new indexations > requests will have to wait (until end of commit?). So I don't think your > users will experience increased response time during commits (unless your > server is much undersized). > > Pierre > > -----Message d'origine----- > De : Jonty Rhods [mailto:jonty.rh...@gmail.com] > Envoyé : jeudi 21 juillet 2011 20:27 > À : solr-user@lucene.apache.org > Objet : Re: commit time and lock > > Actually i m worried about the response time. i k commiting around 500 > docs in every 5 minutes. as i know,correct me if i m wrong; at the > time of commiting solr server stop responding. my concern is how to > minimize the response time so user not need to wait. or any other > logic will require for my case. please suggest. > > regards > jonty > > On Tuesday, June 21, 2011, Erick Erickson <erickerick...@gmail.com> wrote: >> What is it you want help with? You haven't told us what the >> problem you're trying to solve is. Are you asking how to >> speed up indexing? What have you tried? Have you >> looked at: http://wiki.apache.org/solr/FAQ#Performance? >> >> Best >> Erick >> >> On Tue, Jun 21, 2011 at 2:16 AM, Jonty Rhods <jonty.rh...@gmail.com> wrote: >>> I am using solrj to index the data. I have around 50000 docs indexed. As at >>> the time of commit due to lock server stop giving response so I was >>> calculating commit time: >>> >>> double starttemp = System.currentTimeMillis(); >>> server.add(docs); >>> server.commit(); >>> System.out.println("total time in commit = " + (System.currentTimeMillis() - >>> starttemp)/1000); >>> >>> It taking around 9 second to commit the 5000 docs with 15 fields. However I >>> am not confirm the lock time of index whether it is start >>> since server.add(docs); time or server.commit(); time only. >>> >>> If I am changing from above to following >>> >>> server.add(docs); >>> double starttemp = System.currentTimeMillis(); >>> server.commit(); >>> System.out.println("total time in commit = " + (System.currentTimeMillis() - >>> starttemp)/1000); >>> >>> then commit time becomes less then 1 second. I am not sure which one is >>> right. >>> >>> please help. >>> >>> regards >>> Jonty >>> >> > -- Bill Bell billnb...@gmail.com cell 720-256-8076