search bundle api

issue #673