Re: Problem After Modifying CoreContainer

2009-07-31 Thread Noble Paul നോബിള്‍ नोब्ळ्
throws IOException, >> ParserConfigurationException, SAXException { >>       if (defaultConfigFile == null || defaultSchemaFile == null) { >>           throw new RuntimeException("Cannot use autocreate unless both a >> default configuration file and a default schema file are

Re: Problem After Modifying CoreContainer

2009-07-31 Thread danben
gt; default configuration file and a default schema file are specified"); > } > CoreDescriptor dcore = new CoreDescriptor(this, coreName, > getInstanceDir(coreName)); > dcore.setConfigName(defaultConfigFile); > dcore.setSchemaName(defaultSchemaFile); > return create(dcore); > } > > // Eventually this will be overridden to do some intelligent management of > a directory hierarchy so we //don't have hundreds of thousands of cores in > the same directory > public String getInstanceDir(String coreName) { > return coreName; > } > > -- View this message in context: http://www.nabble.com/Problem-After-Modifying-CoreContainer-tp24762199p24763149.html Sent from the Solr - User mailing list archive at Nabble.com.

Problem After Modifying CoreContainer

2009-07-31 Thread danben
return create(dcore); } // Eventually this will be overridden to do some intelligent management of a directory hierarchy so we //don't have hundreds of thousands of cores in the same directory public String getInstanceDir(String coreName) { return coreName; } -- View this message in context: http://www.nabble.com/Problem-After-Modifying-CoreContainer-tp24762199p24762199.html Sent from the Solr - User mailing list archive at Nabble.com.