Stop The Madness: Indexing keyword EECAs
Posted by Adrian Crum-3 on Jan 14, 2012; 12:59am
URL: http://ofbiz.116.s1.nabble.com/Stop-The-Madness-Indexing-keyword-EECAs-tp4293872.html
I tried to find out why a data import for a bespoke (made-to-order)
manufacturer was taking WAY too long. Turns out it was keyword indexing
EECAs.
Each product has dozens of product features, and it also has a
manufacturer ID. The indexProductKeywords is called for the product,
each product feature, and the ID. As a result, one product takes several
seconds to store.
Then the BOM for each product needs to be imported. The
indexWorkEffortKeywords service is called for each work effort in the
BOM. Why do I want my BOM work efforts keyword indexed?
This is insane. Why would anyone set up EECAs like that?
I would like to turn those EECA services into jobs that run on a regular
basis, so real work can get done in real time.
What do you think?
-Adrian