Does it mandate you to pass data through Hibernate? This seems very similar to Compass' approach.
I believe a more generic approach is to compare what's already indexed with what's changed or deleted, so you can use any framework to work with Lucene. And simply selecting the data and creating the index can avoid some specific framework limitation and easier to scale. Also, re-indexing will also be easier. DBSight tracks changes through simple SQLs, hard-deleted or soft-deleted content, and do it very efficiently even for large number of documents. -- Chris Lu ------------------------- Instant Scalable Full-Text Search On Any Database/Application site: http://www.dbsight.net demo: http://search.dbsight.com Lucene Database Search in 3 minutes: http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes On 5/21/07, bhecht <[EMAIL PROTECTED]> wrote:
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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]