logger.debug("\t\tvalue: [{}]", value.toString());
fieldValues.add(value.toString());
}
String fieldName = resolveFieldName(id);
if(fieldValues.size() > 1){
builder.array(fieldName, fieldValues.toArray());
} else {
if (!"_id".equals(fieldName)) {
builder.field(fieldName, fieldValues.get(0));
} else {
indexRequest.id(fieldValues.get(0));