Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 66556 invoked from network); 19 Feb 2006 23:26:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Feb 2006 23:26:58 -0000 Received: (qmail 11758 invoked by uid 500); 19 Feb 2006 23:26:41 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 11617 invoked by uid 500); 19 Feb 2006 23:26:41 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 11566 invoked by uid 99); 19 Feb 2006 23:26:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Feb 2006 15:26:41 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [24.222.0.30] (HELO smtpout.eastlink.ca) (24.222.0.30) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Feb 2006 15:26:40 -0800 Received: from ip01.eastlink.ca ([24.222.10.5]) by mta01.eastlink.ca (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IUY0090TJQAJOX0@mta01.eastlink.ca> for java-user@lucene.apache.org; Sun, 19 Feb 2006 19:25:22 -0400 (AST) Received: from blk-224-233-28.eastlink.ca (HELO [192.168.0.2]) ([24.224.233.28]) by ip01.eastlink.ca with ESMTP; Sun, 19 Feb 2006 19:26:14 -0400 Date: Sun, 19 Feb 2006 19:26:12 -0400 From: Chris Brown Subject: Re: Accessing Lucene Index stored in a jar file In-reply-to: To: java-user@lucene.apache.org Message-id: <43F8FE94.404@orangepics.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== References: <20060219082200.50360.qmail@web50301.mail.yahoo.com> User-Agent: Thunderbird 1.5 (Windows/20051201) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I don't know anything about it, but there's a library called TrueZip (https://truezip.dev.java.net/) that apparently is "a drop-in replacement for the File I/O classes in the J2SE API". Maybe it will allow random access. I heard about on the Java Posse Pod Cast (http://javaposse.com/) Ahmed El-dawy wrote: > 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 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 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 >>> 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: 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 >> > > > -- > regards, > Ahmed Saad > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > -- Chris Brown http://www.orangepics.com/ Simple, Safe, Photo Sharing --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org