Hello everybody,
(I search some hours but i don't find a solution for my problem, may be i have not typed the good keywords...)
Let me explain my use case :
I have an application (JEE) connected on a database. This application never add entries in the database because the insert process is managed by an another application.
However i need to maintain an index synchronized with the database. Actually, i reindex every 12 hours. It's bad because i reindex ALL data (1Go) while we just inserted 1 or 2 Mo...
I can write methods to search new entries and then indexing only new but it depends on my indexed tables or it will be hard for me to make a generic method to compare lucene index with database and then automaticly search and reindex new entities...
So my questions are simples : - Why we don't have a method indexNew()? (in my use case, data are just inserted, modifications are extremely rare). - Do you see a simple way to solve my use case?
Thank you by advance,
(Sorry for my english, i'm french :))
|