Re: Storing byte arrays into an index

2006-03-04 Thread Petr Hrebejk
Hi, Yes the proposed patch in the LUCENE-511 bug fixes the problem. Thanks for the reply. Hrebejk Yonik Seeley wrote: Methinks it's due to http://issues.apache.org/jira/browse/LUCENE-511 It will be fixed shortly. If you know how to build Lucene, it would be helpful if you could try the patch

Re: Storing byte arrays into an index

2006-03-02 Thread Yonik Seeley
Methinks it's due to http://issues.apache.org/jira/browse/LUCENE-511 It will be fixed shortly. If you know how to build Lucene, it would be helpful if you could try the patch yourself. -Yonik On 3/2/06, Petr Hrebejk <[EMAIL PROTECTED]> wrote: > Hi, > > > > I'm trying to use following call: > > d

Re: Storing byte arrays into an index

2006-03-02 Thread Daniel Naber
On Donnerstag 02 März 2006 12:48, Petr Hrebejk wrote: > I'm trying to use following call: > > doc.add(new Field("contents", array, Field.Store.YES ) ); > > When array.length > 1024, then I get following exception: Could you post a small, self-contained example? I cannot reproduce the problem her

Storing byte arrays into an index

2006-03-02 Thread Petr Hrebejk
Hi, I'm trying to use following call: doc.add(new Field("contents", array, Field.Store.YES ) ); When array.length > 1024, then I get following exception: [java] at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:88) [java] at org.apache.lucene.index.SegmentReader.doc