Can somebody answer this? What should be the best strategy for optimize (when million of messages we are indexing for a new registered user)
Thanks Naveen On Tue, Aug 2, 2011 at 5:36 PM, Naveen Gupta <nkgiit...@gmail.com> wrote: > Hi > > We have a requirement where we are indexing all the messages of a a thread, > a thread may have attachment too . We are adding to the solr for indexing > and searching for applying few business rule. > > For a user, we have almost many threads (100k) in number and each thread > may be having 10-20 messages. > > Now what we are finding is that it is taking 30 mins to index the entire > threads. > > When we run optimize then it is taking faster time. > > The question here is that how frequently this optimize should be called and > when ? > > Please note that we are following commit strategy (that is every after 10k > threads, commit is called). we are not calling commit after every doc. > > Secondly how can we use multi threading from solr perspective in order to > improve jvm and other utilization ? > > > Thanks > Naveen >