lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ahmed El-dawy" <aseld...@gmail.com>
Subject Re: Accessing Lucene Index stored in a jar file
Date Sun, 19 Feb 2006 07:05:32 GMT
I need to access it as it is in the zip file. IndexSearcher cannot be
constructed using a zip file or a stream to a file. It can be
constructed to either FSDirectory or RAMDirectory. Both are not useful
in my case.

On 2/19/06, gekkokid <me@gekkokid.org.uk> wrote:
> couldnt you use the java zip library
> (http://java.sun.com/j2se/1.5.0/docs/api/java/util/zip/package-summary.html)
> and compress and uncompress it separately? just an idea
>
> ----- Original Message -----
> From: "Ahmed El-dawy" <aseldawy@gmail.com>
> To: <java-user@lucene.apache.org>
> Sent: Saturday, February 18, 2006 8:38 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>


--
regards,
Ahmed Saad

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message