lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Király Péter <>
Subject Re: Lucene as a primary datastore
Date Wed, 20 Jan 2010 08:11:11 GMT
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.


----- 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:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message