Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 92954 invoked from network); 20 Dec 2007 06:31:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Dec 2007 06:31:58 -0000 Received: (qmail 80689 invoked by uid 500); 20 Dec 2007 06:31:41 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 80666 invoked by uid 500); 20 Dec 2007 06:31:41 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 80655 invoked by uid 99); 20 Dec 2007 06:31:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 22:31:41 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [69.147.85.95] (HELO web83816.mail.sp1.yahoo.com) (69.147.85.95) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 20 Dec 2007 06:31:18 +0000 Received: (qmail 50393 invoked by uid 60001); 20 Dec 2007 06:31:19 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=0kLD9v6aVc6yYB8Y+/5/TIKxvaYx+1IJVypdPGzp4S5TN2QC9c7PKd8RM856oXCm5/jPINOFYXnR9779YVUVaum4pPbPY1r/7Qdu7qZsDTNMSbSbF/0IZCPSLGzhKrf94Ra1n4xUJTzSi4L3gkpGpdPQJW4IKVr4W8XUl+o5BDw=; X-YMail-OSG: l6fDE4UVM1nAPS5KgIcSqwGhF6yPDCUNCcCvWlekiPwXiyBq Received: from [63.82.71.142] by web83816.mail.sp1.yahoo.com via HTTP; Wed, 19 Dec 2007 22:31:19 PST X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.158.1 Date: Wed, 19 Dec 2007 22:31:19 -0800 (PST) From: Tushar B Subject: Re: document deletion problem To: java-user@lucene.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <454035.50386.qm@web83816.mail.sp1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi Doron, Just filed an issue in JIRA. Here are the requested stats: Index size-> around 11 million documents Query -> fieldname:[009 TO 999] (using CSRQ) Result -> 11475 documents Delete -> All the returned documents (11475) I can get the time statistics for you if that helps. 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 > To: java-user@lucene.apache.org > Sent: Wednesday, December 19, 2007 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 tell me > > how do I file a JIRA issue? > > > > See Lucene's wiki, at page "HowToContribute". > > > > > > The two workarounds I was using are neither great in perfromance. Provided > > here just FYI: > > > > 1) Have the "for" loop in a "do while" loop, Handle the Array...Exception, > > resubmit query > > 2) Use HitCollector (as also suggested by you) > > > The HitCollector should work reasonably - can you tell us how many docs did > you delete, from how big an index, with what query, and how long did it > take? > > > > > > thanks > > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org