Re: Boost value corrupted "read eof exception"

2008-02-16 Thread Michael McCandless
You can use a separate unindexed, stored fields for this? Ie add fields "field 1 weight age", "field 2 weight age", etc, and store that float value (as a string) in there? Mike Allahbaksh Mohammedali Asadullah <[EMAIL PROTECTED]> wrote: > > > Hi Chris and Mike, > Thanks for your help. > Chis you

RE: Boost value corrupted "read eof exception"

2008-02-15 Thread Allahbaksh Mohammedali Asadullah
: 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 debuggi

Re: Boost value corrupted "read eof exception"

2008-02-15 Thread Chris Hostetter
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 whe

Re: Boost value corrupted "read eof exception"

2008-02-15 Thread Michael McCandless
Allahbaksh Mohammedali Asadullah <[EMAIL PROTECTED]> 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

RE: Boost value corrupted "read eof exception"

2008-02-15 Thread Allahbaksh Mohammedali Asadullah
Message- From: Michael McCandless [mailto:[EMAIL PROTECTED] Sent: Friday, February 15, 2008 10:34 PM To: java-user@lucene.apache.org Subject: Re: Boost value corrupted "read eof exception" I had to comment out the "search" lines. But then when I run this I don't hit

Re: Boost value corrupted "read eof exception"

2008-02-15 Thread Michael McCandless
City, Hosur Road, Bangalore 560 100, India. *Board: +91-80-28520261 | Extn: 53915 | Direct: 41173915. Fax: +91-80-28520362 | Mobile: +91-9845505322. http://setlabs/slim/ http://allahbaksh.blogspot.com -Original Message- From: Michael McCandless [mailto:[EMAIL PROTECTED] Sent: Friday, F

Re: Boost value corrupted "read eof exception"

2008-02-15 Thread Michael McCandless
Which version of Lucene are you using? Can you post the full stack trace for the exception you're hitting? Mike Allahbaksh Mohammedali Asadullah wrote: Hi, I am getting read past eof exception when I am adding Document. The things works fine but while I read the Boost value I get it as