Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@apache.org Received: (qmail 48407 invoked from network); 3 Apr 2002 17:11:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Apr 2002 17:11:29 -0000 Received: (qmail 23372 invoked by uid 97); 3 Apr 2002 17:10:53 -0000 Delivered-To: qmlist-jakarta-archive-lucene-user@jakarta.apache.org Received: (qmail 23285 invoked by uid 97); 3 Apr 2002 17:10:52 -0000 Mailing-List: contact lucene-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Users List" Reply-To: "Lucene Users List" Delivered-To: mailing list lucene-user@jakarta.apache.org Received: (qmail 23223 invoked from network); 3 Apr 2002 17:10:52 -0000 Subject: (ZipDirectory) RE: storing index in third party database. Date: Wed, 3 Apr 2002 09:10:38 -0800 MIME-Version: 1.0 Message-ID: <728DA21B8941A843A7C496F1ACF48518012CFB5D@gleam.lumos.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.4712.0 Thread-Topic: storing index in third party database. Thread-Index: AcHa+pbdK4Cyey72S4Syeuvj7z7IyAAN2ulw From: "Spencer, Dave" To: "Lucene Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Another interesting variation - possibly - is storing the index in a zip file (thus we'd have "ZipDirectory"). Then, say, the index would be in one on-disk-file (thus, "easier to manage") and in some applet applications the whole thing could easily/efficiently be loaded.=20 Just did a test and a on-disk index of 8658 blocks (via "du -s" ) turned into a zip file of 4275 blocks, thus approx 50% compression is possible. -----Original Message----- From: amithnz@netscape.net [mailto:amithnz@netscape.net] Sent: Tuesday, April 02, 2002 10:08 PM To: lucene-user@jakarta.apache.org Subject: storing index in third party database. Hi all I want to index the datas which I already stored in a thirdparty database table and develop a search facility using lucene. I am thinking of storing this indexes back to the database in another table. I know for this we have to create a 'directory' which do all the indexing operations, for example Indexwriter indwriter =3D new Indexwriter("dirStore",null,create); where dirStore is the directory, create is boolean. but I don't know the format to be followed for the directory(dirStore).Please help me if anybody has done similar thing. TIA Amith __________________________________________________________________ Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/ Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: