jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek" <aklim...@day.com>
Subject Re: Searching inside binary contents abd other queries
Date Wed, 11 Jun 2008 09:45:17 GMT
On Wed, Jun 11, 2008 at 2:56 AM, Sergio Tridente <tioduke@gmail.com> wrote:
> Here's the code that stores the pdf:
> [...]
> session.save();
> pdf.close();

Not sure, but I think you should not close the input stream, it will
be done by Jackrabbit. The exception below might be related.

> Exception in thread "main" org.apache.lucene.store.AlreadyClosedException:
> this IndexReader is closed

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message