Updated Search API to use AppResource (bug 838914)