Analyzer analyzer = null;
engine = new LuceneSearchEngine(sourceName, connectionFactory, true, luceneConfig, rules, analyzer);
loadContent();
// Load the workspaces into the engine ...
SearchEngineProcessor processor = engine.createProcessor(context, null, false);
try {
for (String workspaceName : content.getWorkspaces()) {
processor.process(new VerifyWorkspaceRequest(workspaceName));
}
} finally {
processor.close();
}
// Create the schemata for the workspaces ...
schemata = ImmutableSchemata.createBuilder(typeSystem)
.addTable("__ALLNODES__", "maker", "model", "year", "msrp", "mpgHighway", "mpgCity")