}
}
}
if (viewContext == null) {
throw new ElasticSearchViewNotFoundException("No view [" + request.format() + "] found for document type [" + request.type() + "]");
}
// Set some org.elasticsearch.test.integration.views.mappings.data required for view rendering
viewContext.index(getResult.index())
.type(getResult.type())