RE: Ensuring documents indexed by autocommit

2009-01-09 Thread Chris Hostetter
: Thanks again for your inputs. : But then I am still stuck on the question that how do we ensure that : document is successfully indexed. One option I see is search for every Have faith. If the add completes successfully then the data made it to solr, was indexed, and now lives in the index fil

RE: Ensuring documents indexed by autocommit

2009-01-09 Thread Gargate, Siddharth
-Original Message- From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: Friday, January 09, 2009 5:08 PM To: solr-user@lucene.apache.org Subject: Re: Ensuring documents indexed by autocommit On Fri, Jan 9, 2009 at 5:00 PM, Alexander Ramos Jardim < alexander.ramos.jar...@gmail.

Re: Ensuring documents indexed by autocommit

2009-01-09 Thread Shalin Shekhar Mangar
On Fri, Jan 9, 2009 at 5:00 PM, Alexander Ramos Jardim < alexander.ramos.jar...@gmail.com> wrote: > Shalin, > > Just to remember that with he is indexing more documents that he has memory > avaiable, it is a good thing to have autocommit set. Yes, sorry, I had assumed that he has enough memory o

Re: Ensuring documents indexed by autocommit

2009-01-09 Thread Alexander Ramos Jardim
Shalin, Just to remember that with he is indexing more documents that he has memory avaiable, it is a good thing to have autocommit set. 2009/1/9 Shalin Shekhar Mangar > On Fri, Jan 9, 2009 at 4:47 PM, Gargate, Siddharth > wrote: > > > But what you were suggesting is that I > > should call com

Re: Ensuring documents indexed by autocommit

2009-01-09 Thread Shalin Shekhar Mangar
On Fri, Jan 9, 2009 at 4:47 PM, Gargate, Siddharth wrote: > But what you were suggesting is that I > should call commit only after some time or after few number of > documents, right? Correct. If you are using Solrj client for indexing data, you can use the SolrServer#add(Collection docs) metho

RE: Ensuring documents indexed by autocommit

2009-01-09 Thread Gargate, Siddharth
...@ptc.com] Sent: Friday, January 09, 2009 4:43 PM To: solr-user@lucene.apache.org Subject: RE: Ensuring documents indexed by autocommit How do we set the maxDocs or maxTime for commit from the application? Thanks, Siddharth -Original Message- From: Shalin Shekhar Mangar [mailto:shalinman

RE: Ensuring documents indexed by autocommit

2009-01-09 Thread Gargate, Siddharth
How do we set the maxDocs or maxTime for commit from the application? Thanks, Siddharth -Original Message- From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: Friday, January 09, 2009 4:34 PM To: solr-user@lucene.apache.org Subject: Re: Ensuring documents indexed by

Re: Ensuring documents indexed by autocommit

2009-01-09 Thread Shalin Shekhar Mangar
On Fri, Jan 9, 2009 at 4:20 PM, Gargate, Siddharth wrote: > Thanks Shalin for the reply. > I am working with the remote Solr server. I am using autocommit instead > of commit method call because I observed significant performance > improvement with autocommit. > Just wanted to make sure that call

RE: Ensuring documents indexed by autocommit

2009-01-09 Thread Gargate, Siddharth
, Siddharth -Original Message- From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] Sent: Friday, January 09, 2009 3:16 PM To: solr-user@lucene.apache.org Subject: Re: Ensuring documents indexed by autocommit On Fri, Jan 9, 2009 at 3:03 PM, Gargate, Siddharth wrote: > Hi all, >

Re: Ensuring documents indexed by autocommit

2009-01-09 Thread Shalin Shekhar Mangar
On Fri, Jan 9, 2009 at 3:03 PM, Gargate, Siddharth wrote: > Hi all, >I am using CommonsHttpSolrServer to add documents to Solr. Instead > of explicitly calling commit for every document I have configured > autocommit in solrconfig.xml. But how do we ensure that the document > added is success

Ensuring documents indexed by autocommit

2009-01-09 Thread Gargate, Siddharth
Hi all, I am using CommonsHttpSolrServer to add documents to Solr. Instead of explicitly calling commit for every document I have configured autocommit in solrconfig.xml. But how do we ensure that the document added is successfully indexed/committed on Solr side. Is there any callback mechanism