Changed adapter interface from findByUrl to findByQuery.