If you are using Orcale and Lucene, check out http://www.hibernate.org/410.html "Hibernate Search" , this will automaticly update your lucene index, on any change to your database table
Erick Erickson wrote: > > You have to delete the old document and add it a new one. > > See IndexModifier class. > > There is no ability to modify a document in place. > > Best > Erick > > On 5/14/07, Krishna Prasad Mekala <[EMAIL PROTECTED]> wrote: >> >> Hi All, >> >> >> >> Thanks for your response. I have one more doubt. How can I update a >> index once created from Oracle, instead of recreating the whole. >> Whenever there is a change in the oracle table >> (insertion/updation/deletion of a row) my application should update the >> index. >> >> >> >> Thanks in advance. >> >> >> >> >> >> Krishna Prasad M >> >> >> >> > > -- View this message in context: http://www.nabble.com/How-to-Update-the-Index-once-it-is-created-tf3752208.html#a10724708 Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]