Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 28924 invoked from network); 15 Feb 2008 19:58:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2008 19:58:56 -0000 Received: (qmail 29013 invoked by uid 500); 15 Feb 2008 19:58:44 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 28983 invoked by uid 500); 15 Feb 2008 19:58:44 -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 28972 invoked by uid 99); 15 Feb 2008 19:58:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 11:58:44 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.69.42.181] (HELO radix.cryptio.net) (208.69.42.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 19:58:12 +0000 Received: by radix.cryptio.net (Postfix, from userid 1007) id AF27A71C2B8; Fri, 15 Feb 2008 11:58:20 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by radix.cryptio.net (Postfix) with ESMTP id AB48D71C265 for ; Fri, 15 Feb 2008 11:58:20 -0800 (PST) Date: Fri, 15 Feb 2008 11:58:20 -0800 (PST) From: Chris Hostetter To: java-user@lucene.apache.org Subject: Re: Boost value corrupted "read eof exception" In-Reply-To: <9ac0c6aa0802151142v651688bdg689d23cab9c8afb6@mail.gmail.com> Message-ID: References: <68959F25CDEBCB4F917D5A253291D73E07CDAC3CAD@BLRKECMBX06.ad.infosys.com> <6B028357-D045-4387-B1E5-78063A882054@mikemccandless.com> <68959F25CDEBCB4F917D5A253291D73E07CDAC3CB1@BLRKECMBX06.ad.infosys.com> <9ac0c6aa0802151142v651688bdg689d23cab9c8afb6@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Reading between the lines, I suspect two things are happening here, both of which seems like missunderstandings ... 1) i think the IOException seen while debugging is refering to an exception which is handled internally in Lucene and is not actually a problem -- but Allahbaksh is seeing it when stepping through his program with a debugger. Unless the exception is rethrown and your code is catching it, you can ignore it ... there are places in the Lucene code where exceptions may happen because of filesystem changes and but Lucene can and does catch them and deal with them appropriately so you don't have to. 2) i believe the refrences to boost values is about trying to call getBoost() on a field or document after getting the document returned from a search. this is not something that will ever work, please read the javadocs for getBoost(). ...if i am wrong about my interpretation of either of these issues, please ignore me and clarify the issues. : Allahbaksh Mohammedali Asadullah wrote: : > : > Hi, : > Thanks for your valuable time.Could you get the same boost value what you : > had stored. In my case I always get boost value as 1 ie. Default value. When : > I debug it goes through IOException though it does not show any Exception on : > the console in eclipse. : : : Sorry, I don't understand what the problem is with the boost. Can you turn : this into a unit test that fails? That would make the issue clearer. : : I also don't understand the exception you are seeing with debugging. If you : could make that exception occur in a unit test that would be great too. : : Mike : -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org