/** Initializes the indexing service.
* @param directory The directory to start indexing at.
* @throws java.sql.SQLException If an error occurs. */
private void initializeServices(String directory) throws SQLException
{
poller = new PollingFileChangeMonitor(directory);
poller.start();
}