It depends on your requirement. If you want the realtime searching then you should go to your first approach otherwiser second is fine.
--Manoj ----- Original Message ----- From: "Victor Lee" <[EMAIL PROTECTED]> To: <java-user@lucene.apache.org> Sent: Monday, November 07, 2005 7:21 AM Subject: Re: Best Way To Index Database Using Lucene? > I forgot to mention that if I use php-java-bridge to > use Lucene to index at the same time I input the data > into the mysql db, I don't even need to use JDBC. If > I index inside the business logic layer which is > java, then I will have to use JDBC. > > --- Victor Lee <[EMAIL PROTECTED]> wrote: > > > Hi, > > I use php and mysql. The visitors enters data > > through the web and the data is stored in the > > database. I want to make portions of that data to > > be > > searchable using Lucene. > > > > I am thinking of giving that data to Lucene for > > indexing at the same time of inputing that same data > > into the database. Is it a good idea? or should I > > just make php to input all the data into the mysql > > db > > without indexing, and then just periodally update > > the > > index? > > > > What's your suggestion? Many thanks. > > > > > > > > > > __________________________________ > > Yahoo! Mail - PC Magazine Editors' Choice 2005 > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > > [EMAIL PROTECTED] > > For additional commands, e-mail: > > [EMAIL PROTECTED] > > > > > > > > > __________________________________ > Yahoo! FareChase: Search multiple travel sites in one click. > http://farechase.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]