Add searchPosts()

Per @nitinkhanna's request.