Added api examples to search demo