thrownewConfigurationException("No type specified for property "+index+" in indexer.properties.");
}
// Is the type submitted one of the approved ones?
if(!acceptedTypes.contains(type)){
thrownewConfigurationException("The type provided in indexer.properties for property "+prop+" is not supported. Supported types are: "+acceptedTypes.toString());
}
// Add the key.
LOG.info("Adding property: "+prop+" to index as type: "+type);