Return-Path: Delivered-To: apmail-jakarta-lucene-user-archive@www.apache.org Received: (qmail 18933 invoked from network); 20 Jul 2004 14:09:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Jul 2004 14:09:15 -0000 Received: (qmail 92139 invoked by uid 500); 20 Jul 2004 14:09:07 -0000 Delivered-To: apmail-jakarta-lucene-user-archive@jakarta.apache.org Received: (qmail 92044 invoked by uid 500); 20 Jul 2004 14:09:06 -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 92025 invoked by uid 99); 20 Jul 2004 14:09:06 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=FOR_FREE X-Spam-Check-By: apache.org Received: from [128.143.184.74] (HELO postfix.mail.ehatchersolutions.com) (128.143.184.74) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 20 Jul 2004 07:09:03 -0700 Received: from [127.0.0.1] (localhost [127.0.0.1]) by postfix.mail.ehatchersolutions.com (Postfix) with ESMTP id 40621826016 for ; Tue, 20 Jul 2004 10:09:06 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: <20040720132912.625A7395D@sitemail.everyone.net> References: <20040720132912.625A7395D@sitemail.everyone.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <59D7F60C-DA56-11D8-81B3-000393A564E6@ehatchersolutions.com> Content-Transfer-Encoding: 7bit From: Erik Hatcher Subject: Re: The indexer Date: Tue, 20 Jul 2004 10:09:01 -0400 To: "Lucene Users List" X-Mailer: Apple Mail (2.618) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Jul 20, 2004, at 9:29 AM, Ian McDonnell wrote: > Basically i add details about a movie clip as various fields in an sql > db using a jsp form. When the form submits i want to add the details > into the db and also want the fields to be stored as a searchable > lucene index on the server. > > Is this possible? Of course. But you'll have to code it. It's only a few lines of code to index a "document" into a Lucene index, but it is up to you to code those into the appropriate spot in your system (most likely right where you insert into mysql). Erik > > Ian > > > --- Erik Hatcher wrote: > On Jul 20, 2004, at 8:44 AM, Ian McDonnell wrote: >> Can Lucenes indexer be used to store info in fields in a mysql db? > > I'm not quite clear on your question. You want to store a Lucene index > (aka Directory) within mysql? > > Or, you want to index data from your existing mysql database into a > Lucene index? > > A Directory implementation for Berkeley DB was created by the Chandler > project and contributed to the Lucene sandbox (see Lucene's website for > details on the sandbox and how to get to it). There has been some > efforts to put a Lucene index into SQL Server, I believe, but I haven't > seen mention of that in a while. It *can* be done, but I'm skeptical > of the performance hit of adding in a relational database layer - and > to do it well would certainly be non-trivial. > > As for indexing data from mysql - there have been lots of discussions > of that recently, so check the archives. Basically you read the data, > and index it with Lucene's API. And you are responsible for keeping it > in sync. > > Erik > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-user-help@jakarta.apache.org > > > > _____________________________________________________________ > Sign up for FREE email from SpinnersCity Online Dance Magazine & > Vortal at http://www.spinnerscity.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-user-help@jakarta.apache.org