Fixes #104. Use new search API in resource/search endpoint