added viz api for interacting directly with elasticsearch