We fixed our issues and get back our likes by fouding a not corrupted backup of the “ratings” folder. Our wiki is now fully operationnal again. At the end we removed the solr folder, we regenerate a fresh one by starting the tomcat. Then stopping the tomcat again and just replace the “ratings” folder with our backup. Maybe this procedure will help someone else one day.
We are using a lot the like feature, we implemented some kind of “favorite” wiki space around it and an easy access to theses favorites for the user on their homepage.
So we are a bit worried about futur upgrade to major version of XWiki we can’t lost theses data and having to care about preserving solr data will potentially complexify the upgrade of the platform and issues that we can encounter. We are also using embedded solr so far, and if one day we decide to switch to separate solr server I hope it won’t be too much complex to keep likes.
We hopes that maybe an other solution will be find for Likes, I understand the need of improving performance by having a quick access to solr, but imo it should be just a 2nd layer, maybe Likes should be XWiki object in the db like every xwiki object with cache/solr as 2nd layer.
Anyway, I thank the XWiki team, always quick and usefull answer when we encounter an issue and a very active project and core team which is really appreciable in an open source project. We integrate a lot of opensource project in our solution and XWiki (with Keycloak) are by far the most serious and efficient team.