I think it is not an easy task!!!
java.util.zip does not support random access to files inside an archive.
Lucene Directory requires files inside the directory to be accessed randomely.
Does anyone know a library to load archive files and gives a random
access to archived files?


On 2/19/06, Ahmed El-dawy <[EMAIL PROTECTED]> wrote:
> Thanks for your response.
> You are both right.
> As I didn't find an already made implementation for this, I am now
> working in ZipDirectory class and I will send it to you as I finish
> it.
>
> Thanks alot
> Ahmed Saad
>
> On 2/19/06, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:
> > Try talking to these people: 
> > http://www.google.com/search?ie=UTF-8&oe=UTF-8&q=jardirectory%20lucene
> >
> > ----- Original Message ----
> > From: Ahmed El-dawy <[EMAIL PROTECTED]>
> > To: java-user@lucene.apache.org
> > Sent: Saturday, February 18, 2006 3:38:16 PM
> > Subject: Accessing Lucene Index stored in a jar file
> >
> > Hello,
> >   Is there a way to access a Lucene Index which is stored inside a
> > .zip or .jar file?
> > This is important because my indexes are very large (> 200 M.B.) and I
> > need to compress them. I tried to store documents using
> > Store.COMPRESSED, but the compression ratio wasn't satisfying.
> >   I need to add the index to a jar file and access it (for read-only)
> > without extracting the zip file.
> >
> > Thanks in advance
> > --
> > regards,
> > Ahmed Saad
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> regards,
> Ahmed Saad
>


--
regards,
Ahmed Saad

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to