Open petrjung opened 1 year ago
Hi @petrjung
Yes, in the past, I thought to add some kind of scheduled execution of the reindex logic, but I didn't implement it as I don't have enough time to invest in this app.
For now, the application is in maintenance mode, I am just fixing the application for the new 7.4 releases, as from time to time the new releases of 7.4 contains breaking changes that affect my code.
If you have time to implement this functionality, you can send me a PR with the changes.
The code that executes the reindex operation is here: https://github.com/jorgediaz-lr/index-checker/blob/ed325d07c34c44e3cb30ea72ba62b55aaf4579c2/modules/index-checker/src/main/java/jorgediazest/indexchecker/portlet/IndexCheckerPortlet.java#L665-L778
Regards, Jorge
Hi Jorge, I am using your plugin on the Liferay CE 7.3.7-ga8 because, there seems to be a bug in reindex api. When reindexing, Liferay first drop the search indexed and than reconstruct the new one. During this time, the indexing provide wrong results.
Your plugin can do an incremental re index and search validity check. Would you consider to add the scheduling feature to your application, to run application with some default settings scheduled?
Petr