Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 46877 invoked from network); 24 Oct 2005 20:47:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Oct 2005 20:47:56 -0000 Received: (qmail 1454 invoked by uid 500); 24 Oct 2005 20:47:50 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 1286 invoked by uid 500); 24 Oct 2005 20:47:49 -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 1274 invoked by uid 99); 24 Oct 2005 20:47:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2005 13:47:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of chris.lu@gmail.com designates 72.14.204.202 as permitted sender) Received: from [72.14.204.202] (HELO qproxy.gmail.com) (72.14.204.202) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2005 13:47:47 -0700 Received: by qproxy.gmail.com with SMTP id q18so314695qba for ; Mon, 24 Oct 2005 13:47:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eVURLnDObP8mHmEqvQVYxCYmNQHWlV4R+71uAozJJfDxh+rZX8LIFyFZ0I4+fMOwYprP54B9Bz+14TtvlRdfunovK30ORPeEZ9MbSJacuIQAvUuPJYOfFAjpYdnNZumRC5svGhBlpRAoIUUPFmdO+u4Ig5FxOcnkKeVMHpbtpuY= Received: by 10.65.236.16 with SMTP id n16mr740865qbr; Mon, 24 Oct 2005 13:47:27 -0700 (PDT) Received: by 10.65.93.10 with HTTP; Mon, 24 Oct 2005 13:47:27 -0700 (PDT) Message-ID: <6e3ae6310510241347u4c44045ev737c62a02fd5adac@mail.gmail.com> Date: Mon, 24 Oct 2005 13:47:27 -0700 From: Chris Lu To: java-user@lucene.apache.org Subject: Re: lucene and databases In-Reply-To: <6e3ae6310510241050h5373f77fx81ff125d42cba386@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <435D1A31.4070002@sun.com> <6e3ae6310510241050h5373f77fx81ff125d42cba386@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Also, you can try Compass. I remember it stores the index when you use hibernate. Chris Lu ------------------------------ Lucene Full-Text Search on Any Database http://www.DBSight.net On 10/24/05, Chris Lu wrote: > JDBCDirectory doesn't help you to index content in rdms. > It just stores the lucene index into rdms. This approach will be > slower than file system based approach. > > For your first question, "Indexing content that is stored in a dbms", > you can take a look at DBSight. It's a generic tool to easily extract > content from database and build an index, which seems simple, but > behind the scene, it does more than that, including, multi-threaded > extraction and search, multi index support, template-based search > result, scheduled index updating, web-based control and configuration, > remote index replication, etc. > > Chris Lu > ------------------------------ > Lucene Full-Text Search on Any Database > http://www.DBSight.net > > > On 10/24/05, Rick Hillegas wrote: > > Thanks to Yonik for replying to my last question about queries and filt= ers. > > > > Now I have another issue. I would appreciate any pointers to attempts t= o > > integrate Lucene with databases. There's a tantalizing reference to a > > class called JDBCDirectory mentioned at > > http://wiki.apache.org/jakarta-lucene/LatestNews. However, my browser > > times out trying to access the follow-up link > > http://ppinew.mnis.com/jdbcdirectory. An email thread > > (http://www.mail-archive.com/java-user@lucene.apache.org/msg01036.html) > > makes me hope that this class helps an application index a body of > > documents stored in a relational database. But this class, perhaps a > > cousin of FSDirectory and RAMDirectory, doesn't seem to be part of > > Lucene proper. > > > > In any event, I would appreciate pointers to people's experience > > integrating Lucene with relational databases. I realize this is a very > > broad question. It sweeps up topics like the following: > > > > o Indexing content that is stored in a dbms > > > > o Wrapping filters around the results of sql queries > > > > o Integrating Lucene query syntax with sql query syntax > > > > o Practical tips about when to expose information as a Lucene field vs. > > when to expose that information as a column in a relational table > > > > Thanks, > > -Rick > > > > --------------------------------------------------------------------- > > 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