Do you use AutoTVM or AutoScheduler? Are you tuning on CPU or GPU?
I also got into that problem and theoretically we can restrict the search space in case of AutoTVM but not sure what we can do with Ansor. On the other hand it must be less important for Ansor since the nature of schedule mutation will be based on previous working schedule and we must not go to the danger area where execution will be too long.
In the same time I do not see that limiting of search space and filtering out for AutoTVM will be generic and can be reused on any hardware and schedules. It must be a process of collecting of statistics and limiting of knobs based on collected data