In my experience the most frequent cause is not getting an exact match on terms. Are you sure that you have an exact match i.e. you're not analyzing "MyUniqueId" to "myuniqueid"?
How are you determining that the call was successful? You could try running a query first to verify that a doc you think should be present is really there. Any exceptions being missed anywhere? All writers closed when they should be? No index corruptions (CheckIndex)? -- Ian. On Tue, Nov 3, 2009 at 11:38 AM, Ganesh <emailg...@yahoo.co.in> wrote: > Any leads in this issue would be greatly helpful. > > My logs shows me the updateDocument call was successful but the status of the > document was not updated. Using Luke, I could see the same document (before > update) is added at the end. Its document Id shows it as last record but it > was inserted and updated quite in the middle. I am not able to get the > scenario. > > Regards > Ganesh > > > ----- Original Message ----- > From: "Ganesh" <emailg...@yahoo.co.in> > To: <java-user@lucene.apache.org> > Sent: Friday, October 30, 2009 11:13 PM > Subject: Re: UpdateDocument failed > > > Any hint or lead on this issue. What else to be taken care? > > ----- Original Message ----- > From: "Ganesh" <emailg...@yahoo.co.in> > To: <java-user@lucene.apache.org> > Sent: Friday, October 30, 2009 4:01 PM > Subject: UpdateDocument failed > > > Hello all, > > I am using Lucene 2.4.1. I am adding and updating the documents frequently. > At constant interval, I am reopening the index and warming it. I am having > multiple thread, all are sharing a single writer and reader. Commit and > reopening the reader is done in separate thread at regular interval. > > In one of production server, I could see the updates are getting failed for > some records. When i copy the same data and run it in my end, updates are > doing fine. In production system, Even If i do a reindex, sometimes all the > updates are successful and sometimes not. Its highly unpredictable. All my > documents have a unique id and using that updates are done. > > I require some information what are the criteria to be taken care while doing > UpdateDocument? Is there any limitation of not to update while doing commit? > > Please update me as it is very urgent. > > Regards > Ganesh > > > Send instant messages to your online friends http://in.messenger.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > Send instant messages to your online friends http://in.messenger.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > Send instant messages to your online friends http://in.messenger.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org