Open frankrousseau opened 9 years ago
I'd like to push a few comments related to that matter. I think we could improve performance by:
I think the declaration itself doesn't involve reindexing, but that we should manage declaration and reindexation carefully by ourselves. Would it be worth asking an expert for help? We know for sure (based on @jacquarg work during the MesInfos project) that reindexing views is triggered by application's requests, resulting in massive slowdown when there are tons of documents.
I think we don't need an expert. Your solution looks good. It's the minimum to implement. Even if we hire a specialist, it will save him/her time.
I agree that we can first try to fix it by ourselves.
When I restart my apps, sometimes I notice slowness. I was wondering if redeclaring requests doesn't provoke some useless operations.