Book search experiment code