// Classname for the class that will create the lucene index
String className = (String) indexDef.objectForKey("index");
NSMutableDictionary dict = indexDef.mutableClone();
// If index store not defined, default to index named the dsame as the indexModel file in the indexRoot directory
if(!dict.containsKey("store")) {
try {
dict.setObjectForKey(new File(indexRoot(), key).toURI().toURL().toString(), "store");
} catch (MalformedURLException e) {
throw NSForwardException._runtimeExceptionForThrowable(e);
}