bsnMap.clear();
pkgResourceMap.clear();
initialiseIndexes();
final URLConnector connector = getConnector();
IRepositoryListener listener = new IRepositoryListener() {
public boolean processResource(Resource resource) {
addResourceToIndex(resource);
return true;
}