return results;
}
private Object[] readHit() {
Token t = parser.currentToken();
Assert.isTrue(t == Token.START_OBJECT, "expected object, found " + t);
Assert.notNull(ParsingUtils.seek(parser, ID), "no id found");
Object[] result = new Object[2];
result[0] = parser.text();
Token seek = ParsingUtils.seek(parser, SOURCE, FIELDS);
// no fields found
result[1] = (seek == null ? Collections.emptyMap() : read(t, null));
if (trace) {
log.trace(String.format("Read hit result [%s]=[%s]", result[0], result[1]));