add options for bulk posting to elastic search