Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 31396 invoked from network); 27 Nov 2006 18:43:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2006 18:43:38 -0000 Received: (qmail 47019 invoked by uid 500); 27 Nov 2006 18:43:39 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 46984 invoked by uid 500); 27 Nov 2006 18:43:39 -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 46973 invoked by uid 99); 27 Nov 2006 18:43:39 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 10:43:39 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of suman.ghosh.1@gmail.com designates 64.233.182.188 as permitted sender) Received: from [64.233.182.188] (HELO nf-out-0910.google.com) (64.233.182.188) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2006 10:43:27 -0800 Received: by nf-out-0910.google.com with SMTP id n28so2033547nfc for ; Mon, 27 Nov 2006 10:43:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=T5IFs2AvwyPwaFdbadHPXRjTm0+bDSFqGGoZLguaROPLkmBwpqAEJh3rjfvCwX752RdABjjTVpIRUVEp8IShIYHxEMVFumVflJiBFMkTu9Kmxa6XDBdLjt8j07ZFVJNp97doFmEFxQ1xQQwWUWT4M3YUh06SIV4kAc8zaj2hYuI= Received: by 10.48.210.16 with SMTP id i16mr3268749nfg.1164652986160; Mon, 27 Nov 2006 10:43:06 -0800 (PST) Received: by 10.49.17.8 with HTTP; Mon, 27 Nov 2006 10:43:06 -0800 (PST) Message-ID: Date: Mon, 27 Nov 2006 13:43:06 -0500 From: "Suman Ghosh" To: java-user@lucene.apache.org Subject: Re: StackOverflowError while calling IndexReader.deleteDocuments(new Term()) In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Here are the values: mergeFactor=10 maxMergeDocs=100000 minMergeDocs=100 And I see your point. At the time of the crash, I have over 5000 segments. I'll try some conservative number and try to rebuild the index. On 11/27/06, Yonik Seeley wrote: > On 11/27/06, Suman Ghosh wrote: > > The last line [at > > org.apache.lucene.index.MultiTermDocs.next(MultiReader.java:349)] > > repeats another 1010 times before the program crashes. > > > > I understand that without the actual index or the documents, it's > > nearly impossible to narrow down the cause of the error. However, can > > you please point to any theoretical reason why > > org.apache.lucene.index.MultiTermDocs.next will go into an infinite > > loop? > > MultiTermDocs.next() is a recursive function. From what I can see of > it though, it shouldn't recurse greater than the number of segments in > the index. > > How many segments do you have in your index? What IndexWriter > settings have you changed (mergeFactor, maxMergeDocs, etc)? > > -Yonik > http://incubator.apache.org/solr Solr, the open-source Lucene search server > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org