Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 45455 invoked from network); 24 Oct 2005 17:50:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Oct 2005 17:50:41 -0000 Received: (qmail 32413 invoked by uid 500); 24 Oct 2005 17:50:29 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 32393 invoked by uid 500); 24 Oct 2005 17:50:29 -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 32379 invoked by uid 99); 24 Oct 2005 17:50:29 -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 10:50:29 -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.194 as permitted sender) Received: from [72.14.204.194] (HELO qproxy.gmail.com) (72.14.204.194) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Oct 2005 10:50:27 -0700 Received: by qproxy.gmail.com with SMTP id q18so277425qba for ; Mon, 24 Oct 2005 10:50:08 -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=by6xNxgWET0CQHag64qDsvlDfDdCAeo5h/Re6AXIX/5PtdUJzLw58XX+qV5ZYG3b35j/AgmCsDyAByNgc65yOXtEmM/bvdrwWQhFFs/rsl1Q7c0e9uPV61YQOp40b0SjDU+bvQnsqTD5+Lp7ZkK+5GQg9tyg/ubXW7IGadpOv3M= Received: by 10.65.124.8 with SMTP id b8mr590457qbn; Mon, 24 Oct 2005 10:50:08 -0700 (PDT) Received: by 10.65.93.10 with HTTP; Mon, 24 Oct 2005 10:50:07 -0700 (PDT) Message-ID: <6e3ae6310510241050h5373f77fx81ff125d42cba386@mail.gmail.com> Date: Mon, 24 Oct 2005 10:50:08 -0700 From: Chris Lu To: java-user@lucene.apache.org Subject: Re: lucene and databases In-Reply-To: <435D1A31.4070002@sun.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> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 filter= s. > > Now I have another issue. I would appreciate any pointers to attempts to > 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