Re: document deletion problem

2007-12-20 Thread Doron Cohen
gt; And, btw, I can still see the terms from the deleted documents when I do > the top terms etc... when will they be gone? > > thanks > > - Original Message > > From: Doron Cohen <[EMAIL PROTECTED]> > > To: java-user@lucene.apache.org > > Sent: Wedn

Re: document deletion problem

2007-12-19 Thread Tushar B
07 1:13:56 PM > Subject: Re: document deletion problem > > On Dec 19, 2007 5:45 PM, Tushar B wrote: > > > Hi Doron, > > > > I was just playing around with deletion because I wanted to delete > > documents due to spurious entries in one particular field. Could you tel

Re: document deletion problem

2007-12-19 Thread Doron Cohen
On Dec 19, 2007 5:45 PM, Tushar B <[EMAIL PROTECTED]> wrote: > Hi Doron, > > I was just playing around with deletion because I wanted to delete > documents due to spurious entries in one particular field. Could you tell me > how do I file a JIRA issue? > See Lucene's wiki, at page "HowToContribut

Re: document deletion problem

2007-12-19 Thread Tushar B
r 19, 2007 3:49:57 AM > Subject: Re: document deletion problem > > Hi Tushar, > > This is an interesting scenario! > > The problem arises from the way search() methods that return > Hits are working: for start only 100 matching documents are > collected, assuming that apps calli

Re: document deletion problem

2007-12-19 Thread Doron Cohen
Hi Tushar, This is an interesting scenario! The problem arises from the way search() methods that return Hits are working: for start only 100 matching documents are collected, assuming that apps calling this method will not be interested in more documents than this, and that apps traversing all m

Re: document deletion problem

2007-12-19 Thread 游泳池的鱼
time,if you want retrieve another Hit, lucene will search again and return the Hit you want. That is why this problem happen. poor english :") -- Forwarded message -- From: 游泳池的鱼 <[EMAIL PROTECTED]> Date: 2007-12-19 下午7:15 Subject: Re: document deletion problem To

Re: document deletion problem

2007-12-19 Thread 游泳池的鱼
we can iterator hits.id(i) but can't pass reader.deleteDocument(hits.id(i)); why? 2007/12/19, Tushar B <[EMAIL PROTECTED]>: > > Hello All, > > I am seeing this issue and would like to understand if its a bug or I am > missing something and doing the wrong way: > > (Note that I am doing all except

RE: document deletion problem

2007-12-19 Thread Chhabra, Kapil
Hi Tushar, If you refer to the Javadocs for IndexReader, you'll come across the following line: "For efficiency, in this API documents are often referred to via document numbers, non-negative integers which each name a unique document in the index. These document numbers are ephemeral--they may ch