housekeeping on using search doc