Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 12757 invoked from network); 16 Feb 2008 05:46:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Feb 2008 05:46:20 -0000 Received: (qmail 40338 invoked by uid 500); 16 Feb 2008 05:46:08 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 40302 invoked by uid 500); 16 Feb 2008 05:46:08 -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 40291 invoked by uid 99); 16 Feb 2008 05:46:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Feb 2008 21:46:08 -0800 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [61.95.162.82] (HELO kecgate06.infosys.com) (61.95.162.82) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Feb 2008 05:45:23 +0000 Received: from indhubbhs04.ad.infosys.com ([192.168.200.84]) by kecgate06.infosys.com with InterScan Message Security Suite; Sat, 16 Feb 2008 11:16:17 +0530 Received: from blrkechub01.ad.infosys.com ([10.66.236.41]) by indhubbhs04.ad.infosys.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 16 Feb 2008 11:15:41 +0530 Received: from BLRKECMBX06.ad.infosys.com ([10.66.236.32]) by blrkechub01.ad.infosys.com ([10.66.236.41]) with mapi; Sat, 16 Feb 2008 11:15:40 +0530 From: Allahbaksh Mohammedali Asadullah To: "java-user@lucene.apache.org" Date: Sat, 16 Feb 2008 11:15:39 +0530 Subject: RE: Boost value corrupted "read eof exception" Thread-Topic: Boost value corrupted "read eof exception" Thread-Index: AchwDTYyVuPMwZOlTVGWT6SHtMRgsgAUQMaA Message-ID: <68959F25CDEBCB4F917D5A253291D73E07CDAC3CB9@BLRKECMBX06.ad.infosys.com> References: <68959F25CDEBCB4F917D5A253291D73E07CDAC3CAD@BLRKECMBX06.ad.infos ys.com> <6B028357-D045-4387-B1E5-78063A882054@mikemccandless.com> <68959F25CDEBCB4F917D5A253291D73E07CDAC3CB1@BLRKECMBX06.ad.infosys.com><9ac 0c6aa0802151142v651688bdg689d23cab9c8afb6@mail.gmail.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 16 Feb 2008 05:45:41.0568 (UTC) FILETIME=[2A675C00:01C8705F] X-Virus-Checked: Checked by ClamAV on apache.org Hi Chris and Mike, Thanks for your help. Chis you got me right for both points. Sorry that I could not put my= queries properly. As I can't set and get boost value I have to do my= implementation some other way. Please help me in the same I have a three column table which I am trying to save in Lucene. Once= lucene gets me the matching field value then I want to get the value= weight. So in general I don't want to search by weight. My Table structure is like below Doc 1 Field Value Weight age Field1 value1 0.6 Field2 value2 0.8 Doc 1 Field Value Weight age Field1 value3 0.3 Field3 value5 0.25 Thanks in advance. Warm Regards, Allahbaksh -----Original Message----- From: Chris Hostetter [mailto:hossman_lucene@fucit.org] Sent: Saturday, February 16, 2008 1:28 AM To: java-user@lucene.apache.org Subject: Re: Boost value corrupted "read eof exception" 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 **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended= solely for the use of the addressee(s). If you are not the intended= recipient, please notify the sender by e-mail and delete the original= message. Further, you are not to copy, disclose, or distribute this e-mail= or its contents to any other person and any such actions are unlawful.= This e-mail may contain viruses. Infosys has taken every reasonable= precaution to minimize this risk, but is not liable for any damage you may= sustain as a result of any virus in this e-mail. You should carry out your= own virus checks before opening the e-mail or attachment. Infosys reserves= the right to monitor and review the content of all messages sent to or= from this e-mail address. Messages sent to or from this e-mail address may= be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org