Re: from 2.2.0 to 2.3.0

2008-03-27 Thread fanfy
I'm also having a similar problem. Can you help me solve it? I'm only beginning to use lucene. This is the stack trace from a simple test that adds a document in the repository. I just created the jackrabbit repository so mine is not an upgrade from 2.2 to 2.3 problem. Anyway can you help me with

Re: Retreive Compressed Fields

2008-03-27 Thread Michael McCandless
Compressed fields are automatically uncompressed when you retrieve them. You get the original text back. Mike Sebastin wrote: Hi All, I try to store a string Variable as Field.Store.Compress,during search is there any any inbuilt method to uncompress these records else we can go

Re: from 2.2.0 to 2.3.0

2008-03-27 Thread Michael McCandless
Which version of Jackrabbit are you using? Can you post the code of the simple test? Is it only adding a single document? Mike fanfy wrote: I'm also having a similar problem. Can you help me solve it? I'm only beginning to use lucene. This is the stack trace from a simple test that add

Re: Index "corruption" makes it return a different result

2008-03-27 Thread Lucas F. A. Teixeira
I see... I think we will CheckIndex before opening it. With fix option set to true. If the fix is needed, we will lose some entries, but the index will not be corrupted. We can alarm this to generate another index, and replace the missed entries one. Thanks everybody, if I get any other clue

Re: The best way to iterate over document

2008-03-27 Thread Erick Erickson
See below... On Wed, Mar 26, 2008 at 11:29 AM, Wojtek H <[EMAIL PROTECTED]> wrote: > Thank you for reply. What I did not mention before was that for > iteration we don't care about scoring, so that's not the issue at all. > Creating Filter with BitSet seems much better idea than keeping > HitIter

Re: How to get the a term weight (tf*idf)?

2008-03-27 Thread Grant Ingersoll
Your best bet is probably the explain() method. On Mar 27, 2008, at 12:16 AM, dillongeo wrote: Hi all, Given a term (e.g. "apple") and a document in index, how can I get the term weight in this document? Is this weight equal to the tf*idf value of this term? Thanks! -- View this message