if (FALSE) {
# get the mapping for all indexed fields in the ticket_sales and customers indices
mappingDT <- get_fields(es_host = "http://es.custdb.mycompany.com:9200"
, es_indices = c("ticket_sales", "customers"))
}
Run the code above in your browser using DataLab