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" <guido.bartolu...@gmail.com>
To: <java-user@lucene.apache.org>
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to