Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 70759 invoked from network); 20 Jan 2010 08:11:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jan 2010 08:11:51 -0000 Received: (qmail 76665 invoked by uid 500); 20 Jan 2010 08:11:48 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 76600 invoked by uid 500); 20 Jan 2010 08:11:48 -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 76590 invoked by uid 99); 20 Jan 2010 08:11:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 08:11:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pkiraly@tesuji.eu designates 62.149.196.21 as permitted sender) Received: from [62.149.196.21] (HELO tesuji.eu) (62.149.196.21) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jan 2010 08:11:39 +0000 Received: from skoda (DSLve6quo.adsl.datanet.hu [195.56.3.211]) by tesuji.eu (Postfix) with ESMTP id 4AC2768D420 for ; Wed, 20 Jan 2010 09:15:15 +0100 (CET) Message-ID: From: =?ISO-8859-1?Q?Kir=E1ly_P=E9ter?= To: References: Subject: Re: Lucene as a primary datastore Date: Wed, 20 Jan 2010 09:11:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am using Lucene for the same purpose since years. I import an XML files with records, and in Lucene there is a special field, which stores the original XML (this used for displaying with XSLT), the other fields are for searching. There is a webform, where the users can modify the data. If users click "submit" the application re-creates the XML and the normal fields. I have an 'exporter' utility, which can dump the XML fields into one file - this is used for creating a backup of data. (I prefer to store the non binary data for archival purpose, than an older Lucene index (or MySQL table) - I got very wrong experience with incopatibily issues of MS Word, PDF etc. formats.) P�ter ----- Original Message ----- From: "Guido Bartolucci" To: Sent: Wednesday, January 20, 2010 4:58 AM Subject: Lucene as a primary datastore >I know that the primary use case for Lucene is as an index of data > that can be reconstructed (e.g., from a relational database or from > spidering your corporate intranet). > > But, I'm curious if anyone uses Lucene as their primary datastore for > their gold data. Is it good enough? > > Would anyone consider (or do people already) store data in Lucene > that, if it was lost, would destroy their business? And no, I'm not > suggesting that you don't back up this data, I'm just curious if there > are problems with using Lucene in this way. Are there subtle > corruptions that might show up in Lucene that wouldn't show up in > Oracle or MySQL? > > I'm considering using Lucene in this way but I haven't been able to > find any documentation describing this use case. Are there any studies > of Lucene vs MySQL running for N years comparing the corruptions and > recovery times? > > Am I just ignorant and scared of Lucene and too trusting of Oracle and > MySQL? > > Thanks. > > -guido. > > (BTW, I did find a similar question asked back in 2007 in the archives > but it doesn't really answer my question) > > --------------------------------------------------------------------- > 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