i ran a few tests yesterday and, you did it, ajaxSearch doesn’t find class names in html tags as results anymore ! 

when you say "Then the categConfig function should be defined like that:" and then you show a function, where am I supposed to put that function? I added your custom2.config.php file to the configs folder and added the &config=`custom2`, but im not getting any results categorized.
i would just add a little thing to your changelog for those like me who customize the input form and the result directly into the templates, their name have changed the same way the vars have, took me some time to realize all that after my evo 1.04 upgrade