fix #984 add support for search exists API