}
// Create the table
public void createTable() {
NSqlQuery query = new NSqlQuery(db.getIndexConnection());
logger.log(logger.HIGH, "Creating table WORDS ...");
if (!query.exec("create table words (word varchar, guid varchar, source varchar, weight int, primary key (word, guid, source));")) {
logger.log(logger.HIGH, "Table WORDS creation FAILED!!!");
logger.log(logger.HIGH, query.lastError());
}
}
// Drop the table