Re: Regarding solr commits

2014-08-13 Thread Erick Erickson
SolrServer.add(Collection docs, int commitWithinMs) Best, Erick On Wed, Aug 13, 2014 at 10:13 AM, M, Arjun (NSN - IN/Bangalore) < arju...@nsn.com> wrote: > Hi Harsha, > > Thanks for the response. But I am sending the updates via XML messages. > Updates are through solr api in java. > > So it wi

Re: Regarding solr commits

2014-08-13 Thread M, Arjun (NSN - IN/Bangalore)
Hi Harsha, Thanks for the response. But I am sending the updates via XML messages. Updates are through solr api in java. So it will be good if you can provide the references that side. Arjun M On Aug 13, 2014 5:40 PM, ext Harshvardhan Ojha wrote: Hi Arjun, You can send commit request to sol

Re: Regarding solr commits

2014-08-13 Thread Erick Erickson
What version of Solr? If it's Solr 4.x, see: http://searchhub.org/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/ Let me say that your settings are _extremely_ aggressive. Hard committing every second is _very_ likely to cause you significant problems down the road so

Re: Regarding solr commits

2014-08-13 Thread Dmitry Kan
Hi, you can use: - waitSearcher = "true" | "false" — default is true — block until a new searcher is opened and registered as the main query searcher, making the changes visible. on the commit request. Dmitry On Wed, Aug 13, 2014 at 3:06 PM, M, Arjun (NSN - IN/Bangalore) < arju

Re: Regarding solr commits

2014-08-13 Thread Harshvardhan Ojha
Hi Arjun, You can send commit request to solr https://wiki.apache.org/solr/UpdateXmlMessages#A.22commit.22_and_.22optimize.22 Regards Harshvardhan Ojha On Wed, Aug 13, 2014 at 5:36 PM, M, Arjun (NSN - IN/Bangalore) < arju...@nsn.com> wrote: > Hi, > > I have a query regarding solr comm