Update elastic-search setup to index metadata.