Sample to push data into elasticsearch and searching using Rest.