Hi, We have been using the hibernate search(internally uses Lucene) and Apache Lucene in your project. Our Application is a Network Management Application. We would be getting the Alarms,Traps,Clients(like mobile devices, laptops in a network),etc.. in the network.
Basically these data are very dynamic in nature. Our Search in the application would search for any of these Alarms,Traps,Clients,etc... Over a period of time, there will be lot of records available and the older one doesnt make sense to search and list. Hence the data older than a day would be pruned through the sql queries and not through hibernate to make the things faster. Now What we did is, rather than updating the index, we just delete the older index and rebuild the entire index again so that its faster w.r.t to both searching and indexing. But to index, it takes around 10-15 mins to reindex the whole data. Now the question is, Is there any standard solutions to address this kind of problem ? How do we deal with the dynamic data with lucene where-in we need to prune the records in the database ??? Any suggestions ?? Regards Prathib Kumar. Regards Prathib Kumar.
