http API: search(): full search with threshold