The way I've been doing to ignore generated classes in advanced search is adding !file:*intermediates*/&&!file:*generated*/&&!lib:*..* to a new Custom Scope, like this:
14-October-2015 Update: I have improved the pattern by also excluding the !lib:*..* from the search. Thanks.