search by office and some code revisions