value = mapper.valueForSearch(field);
}
}
if (value == null) {
if (field.isBinary()) {
<BUG>value = field.getBinaryValue();
} else {</BUG>
value = field.stringValue();
}
}

value = mapper.valueForSearch(field);
}
}
if (value == null) {
if (field.isBinary()) {
value = new BytesArray(field.getBinaryValue(), field.getBinaryOffset(), field.getBinaryLength());
} else {
value = field.stringValue();
}
}
