Oliver Zeigermann <[EMAIL PROTECTED]> writes: > Wallmer, Martin wrote: > >>> A question to the Lucene experts: Where does Lucene writes > > >> > >>its index? > >> > >>>Is it possible to store in 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? >From >http://lucene.sourceforge.net/cgi-bin/faq/faqmanager.cgi?file=chapter.indexing&toc=faq#q2 Typically, the index is stored in a set of files that Lucene creates in a directory of your choice. If your system uses multiple independent indices, simply create an separate directory for each index. Lucene's API also provide a way to use or implement other storage methods such as a nonresistance in-memory storage, or a mapping of Lucene data to any third party database. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
