Wallmer, Martin wrote:
A question to the Lucene experts: Where does Lucene writes

its index?


Is it possible to store in RDBMS?

I was wondering about this as well. Another real problem might be when to index and transactionality. If we index as soon as we write a resource and then decide to rollback at some point it might be a problem if we updated a main index. It might be necessary to create a new index and merge it with the existing one on commit.




Ah ja, transactions :-(. The indexer must be a store and must
take part at the two phase commit. How can this be achieved with
Lucene? No big problem if Lucene can write its index to RDBMS...

Hmmm. The Lucene index certainly would be a BLOB, right? And when you retrieve this BLOB using JDBC you will get an InputStream, I guess. I can not imagine this will be sufficient for Lucene as it needs to traverse files in a non-linear way. Doesn't it use B-Trees? How would they work on a stream?


Oliver



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to