public FTIndexWorker(FTIndex index, DBBroker broker) throws DatabaseConfigurationException {
this.index = index;
this.broker = broker;
try {
this.engine = new NativeTextEngine(broker, index.getBFile(), broker.getConfiguration());
} catch (final DBException e) {
throw new DatabaseConfigurationException(e.getMessage(), e);
}
}