I created an application based on fullstack template, and replaced the default implementaion of IDocumentRepository by a custom one. My intention was to store data in mongodb and have a dedicated collection for each data-model. It looks like everything is working fine, but when I restart the application, just the example data is displayed and newly added seams to be lost, but is present in database.
Ia a debug session, I have seen the SearchService is getting invoked and I learned SolR is also used, if there is no search criteria.
I expected the problem is fixed, after calling the updateIndex- method of the SearchService like I have seen in DefaultDocumentRepository, but it wasn’t.
Does anybody know what to do to fix it ?