Most Powerful Open Source ERP

Guideline Never Use Reindex In ERP5

Reindexing is for debugging only.
  • Last Update:2019-07-15
  • Version:001
  • Language:en

Never Never Use Reindex In ERP5

Sometimes, it is possible that you feel that it will be easier if you can use immediateReindexObject or recursiveImmediateReindexObject. Theses two methods must be used only for debugging. So never use it in any script, never use it in the ERP5 Code.

Each time we use immediateReindexObject, it will work for development, but it will fails on production if you have more than 2 users.

If you need immediateReindex, this probably means that you are doing the wrong way.