complete searching db first then fetching data from amazon API.