// TODO: Shouldn't we make the index data source available even if there
// is an indexResource?
String indexIRI = webBase + getWebResourcePrefix();
if (!hasProperty(CONF.indexResource) &&
result.describeResource(indexIRI).isEmpty()) {
result = new IndexDataSource(indexIRI, result);
}
return result;
}