Support multi-search API in the native client