200201202203204205206207208
@Override public IndexResponseWrapper apply(IndexResponse input) { TypeMapping typeMapping = _mappings.getTypeMapping(input.getType()); Object id = typeMapping.toId(input.getId()); return new DefaultIndexResponseWrapper(input, id); } }); }