baseContext.getIndexUpdateUrl(), //
public Properties fetchIndexProperties( final IndexingContext context, final ResourceFetcher fetcher ) throws IOException { fetcher.connect( context.getId(), context.getIndexUpdateUrl() ); try { Properties properties = downloadIndexProperties( fetcher ); storeIndexProperties( context.getIndexDirectoryFile(), properties ); return properties; } finally { fetcher.disconnect(); } }
fetcher.connect( context.getId(), context.getIndexUpdateUrl() );