Lucene working with a DB

2004-12-21 Thread Daniel Cortes
I read a lot of messages that Lucene can index a DB because it use that INPUTSTREAM type I don't understand how to do this. For example if I've a forum with Mysql and a lot of files on my web, for every search I've to select the index that I want use in my search, true? But I don't know how to

Re: Lucene working with a DB

2004-12-21 Thread Erik Hatcher
On Dec 21, 2004, at 10:39 AM, Daniel Cortes wrote: I read a lot of messages that Lucene can index a DB because it use that INPUTSTREAM type Where have you read that? This is incorrect. I don't understand how to do this. For example if I've a forum with Mysql and a lot of files on my web, for

Re: Lucene working with a DB

2004-12-21 Thread [EMAIL PROTECTED]
Hello I'll just paste the relevant MySQL code, you add the calls to it per your needs..it has no checking of anything so better add that as well... It's possible I didnt copy/paste everything but you should get the idea where this is going... -pedja -- import