I'm still on v11, but if I read this thread correctly, the v12 search tool no longer searches the actual system, but a stale cache view of the system. Am I the only one that thinks this was a bad decision?
Tough one. A cache is a good thing
if done right. And to be honest, I (or anyone else outside of Automic PM and the dev who wrote it) probably don't know how exactly it is implemented.
E.g. it could be possible that each event that leads to a stale cache entry (e.g. deleting objects) invalidates just that cache entry instantly (ofc with major drawbacks to cache performance). I don't know if it is designed that way, and if they currently do
something to that effect, they're probably just initiating a re-indexing, which isn't an atomic operation. Plus, I have reason to believe it does
currently not work right in all circumstances (e.g. my case about it listing deleted objects for weeks). I have called upon Automic in another thread to explain the exact implementation details to us. However, I'm not exactly holding my breath.
So yeah, at this time, and with the added fact that Automic apparently didn't test this systematically, and their support appears to have been ordered to ignore that which they can not replicate - yes, it's
at present a rather bad design decision.
A "clear cache" button is just a band-aid onto that (one could probably build an Automic job to do that, you can probably even leave the JWP running while deleting the folder).
And this will not be the only time we'll be discussing caches and friends. There's also a Tomcat cache and browser caches, and my company (and many others) enforces the use of a proxy server, which might also cache (and besides, also may introduce funky effects and make debugging harder even with no cache).
Isn't this whole browser-based thing fun? :)