Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 16272 invoked from network); 27 Jul 2007 11:58:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2007 11:58:26 -0000 Received: (qmail 20490 invoked by uid 500); 27 Jul 2007 11:58:20 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 20461 invoked by uid 500); 27 Jul 2007 11:58:20 -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 20450 invoked by uid 99); 27 Jul 2007 11:58:19 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 04:58:19 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of karl.wettin@gmail.com designates 66.249.92.168 as permitted sender) Received: from [66.249.92.168] (HELO ug-out-1314.google.com) (66.249.92.168) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 11:58:11 +0000 Received: by ug-out-1314.google.com with SMTP id c2so813300ugf for ; Fri, 27 Jul 2007 04:57:50 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=aNMHx0tCz80P5MxYGtEjH6qJF5Pgkco6Zma0DtBAcZMeTUfr2Allcyspci59TgGGo1Yg659ZEkxm0Bp7xkFr2aByYg4aVFNguTyXCGBQL3+dJCzvMzCB5Ax/0mxo5mMJJK4jXniauBqXLKoi1cbxalonAsKm8hiQKHH3uejaDW0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=qQC9a8h+hKPY+E1Bea//txqdKjiRG+UQA+XxanXz/AE3wBzgh6V60GTdkhcueWIt0LGZ+OOyA307kgwyvbQUNfXXE6IG8xBEIGMaR8ajbFQsLX6yrMizCBTdxK4P8gag176FjCK8NmtQ7UqXmToYAAm9LgUeSPf64Pl4GKsG4LU= Received: by 10.86.68.16 with SMTP id q16mr1902208fga.1185537470061; Fri, 27 Jul 2007 04:57:50 -0700 (PDT) Received: from ?192.168.2.101? ( [83.249.110.50]) by mx.google.com with ESMTPS id g1sm9903551muf.2007.07.27.04.57.49 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 27 Jul 2007 04:57:49 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <11827583.post@talk.nabble.com> References: <11804824.post@talk.nabble.com> <11823559.post@talk.nabble.com> <563E9174-B8AB-45FA-B117-6D2DDA974791@gmail.com> <11827583.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7C95AE9D-0818-4254-BB9D-6343B5A4ED29@gmail.com> Content-Transfer-Encoding: 7bit From: karl wettin Subject: Re: Strange Error while deleting Documents from index while indexing. Date: Fri, 27 Jul 2007 13:53:41 +0200 To: java-user@lucene.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org 27 jul 2007 kl. 13.43 skrev miztaken: > >> Can you use IndexWriter#deleteDocument instead? > > No i cant use this method. > I dont know docid and i dont wanna search for it. It will only add > extra > time. > I am deleting the document on the basis of unique key field. You can do that with IndexWriter#deleteDocuments(Term) And if Lucene.Net does not support that, can you try doing it by searching and deleting just to see how it changes the outcome? >> Can you please supply an isolated and working test case that >> demonstrate your problem? > > Find the attachment here: http://www.nabble.com/file/p11827583/ > Program2.cs That is a fairly large amount of code. And as it is C# I have nothing to test it on. Too much for me to compile and run in the head. I was hoping for a few line of code that demonstrated the problem and nothing else. -- karl --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org