Uses of Class
com.norconex.crawler.core.CrawlerConfig
Packages that use CrawlerConfig
Package
Description
-
Uses of CrawlerConfig in com.norconex.crawler.core
Methods in com.norconex.crawler.core that return CrawlerConfigModifier and TypeMethodDescriptionCrawlerConfig.addCommitter(Committer committer) Adds a Committer responsible for persisting information to a target location/repository.CrawlerConfig.addEventListener(EventListener<?> eventListener) Adds an event listener.CrawlerConfig.addEventListeners(List<EventListener<?>> eventListeners) Adds event listeners.CrawlerConfig.clearEventListeners()Clears all event listeners.Crawler.getCrawlConfig()CrawlerConfig.setChangeDiscovery(CrawlerConfig.ChangeDiscovery changeDiscovery) Change discovery strategy.CrawlerConfig.setClusterConfig(@NonNull ClusterConfig clusterConfig) The Importer module configuration.CrawlerConfig.setCommitters(List<Committer> committers) Sets Committers responsible for persisting information to a target location/repository.CrawlerConfig.setDeferredShutdownDuration(Duration deferredShutdownDuration) The amount of time to defer the crawler shutdown when it is done executing.CrawlerConfig.setDocumentChecksummer(DocumentChecksummer documentChecksummer) The document checksummer.CrawlerConfig.setDocumentDeduplicate(boolean documentDeduplicate) Whether to turn ON deduplication based on document checksum.CrawlerConfig.setDocumentFetchSupport(FetchDirectiveSupport documentFetchSupport) CrawlerConfig.setDocumentFilters(List<DocumentFilter> documentFilters) Sets document filters.CrawlerConfig.setEventListeners(List<EventListener<?>> eventListeners) Sets event listeners.CrawlerConfig.setFetchers(List<Fetcher> fetchers) One or more fetchers responsible for pulling documents and document metadata associated with a reference from a source.CrawlerConfig.setFetchersMaxRetries(int fetchersMaxRetries) The maximum number of times a fetcher will re-attempt fetching a resource in case of failures.CrawlerConfig.setFetchersRetryDelay(Duration fetchersRetryDelay) How long to wait before a failing fetcher re-attempts fetching a resource in case of failures (in milliseconds).The crawler unique identifier.CrawlerConfig.setIdleTimeout(Duration idleTimeout) The maximum amount of time to wait before shutting down an idle crawler.CrawlerConfig.setImporterConfig(ImporterConfig importerConfig) The Importer module configuration.CrawlerConfig.setMaxCrawlDuration(Duration maxCrawlDuration) The maximum amount of time a crawler is allowed to run.CrawlerConfig.setMaxDepth(int maxDepth) The maximum depth the crawler should go.CrawlerConfig.setMaxDocuments(int maxDocuments) The maximum number of documents that can be processed in a single crawler run before stopping.CrawlerConfig.setMaxQueueBatchSize(int maxQueueBatchSize) The maximum number of references a node will read at once from the queue, to process locally.CrawlerConfig.setMaxStreamCachePoolSize(long maxStreamCachePoolSize) Maximum number of bytes used for memory caching of all reusable streams combined, at any given time, for faster processing.CrawlerConfig.setMaxStreamCacheSize(long maxStreamCacheSize) Maximum number of bytes used for memory caching of a single reusable stream, for faster processing.CrawlerConfig.setMetadataChecksummer(MetadataChecksummer metadataChecksummer) The metadata checksummer.CrawlerConfig.setMetadataDeduplicate(boolean metadataDeduplicate) Whether to turn ON deduplication based on metadata checksum.CrawlerConfig.setMetadataFetchSupport(FetchDirectiveSupport metadataFetchSupport) CrawlerConfig.setMetadataFilters(List<MetadataFilter> metadataFilters) Sets metadata filters.CrawlerConfig.setMinProgressLoggingInterval(Duration minProgressLoggingInterval) Minimum amount of time to wait between each logging of crawling progress.CrawlerConfig.setNumThreads(int numThreads) The maximum number of threads a crawler can use.CrawlerConfig.setOrphansStrategy(CrawlerConfig.OrphansStrategy orphansStrategy) The strategy to adopt when there are orphans.CrawlerConfig.setPostImportConsumers(List<DocumentConsumer> postImportConsumers) Sets post-import consumers.CrawlerConfig.setPreImportConsumers(List<DocumentConsumer> preImportConsumers) Sets pre-import consumers.CrawlerConfig.setReferenceFilters(List<ReferenceFilter> referenceFilters) Sets reference filters.CrawlerConfig.setSpoiledReferenceStrategizer(SpoiledReferenceStrategizer spoiledReferenceStrategizer) The spoiled state strategy resolver.CrawlerConfig.setStartReferences(List<String> startReferences) Sets the references to initiate crawling from.CrawlerConfig.setStartReferencesAsync(boolean startReferencesAsync) Whether the start references should be loaded asynchronously.CrawlerConfig.setStartReferencesFiles(List<Path> startReferencesFiles) Sets the file paths of seed files containing references to be used as start references.CrawlerConfig.setStartReferencesProviders(List<ReferencesProvider> startReferencesProviders) Sets the providers of references used as starting points for crawling.CrawlerConfig.setStopOnExceptions(List<Class<? extends Exception>> stopOnExceptions) Sets the exceptions we want to stop the crawler on.CrawlerConfig.setWorkDir(Path workDir) The base directory location where files generated during execution will reside.Methods in com.norconex.crawler.core that return types with arguments of type CrawlerConfigModifier and TypeMethodDescriptionClass<? extends CrawlerConfig> CrawlerDriver.crawlerConfigClass()CrawlerCallbacks.getAfterSession()Invoked after a crawl session has been destroyed and resources closed.CrawlerCallbacks.getBeforeSession()Invoked before the crawl session gets initialized (which is also before any command gets executed).Method parameters in com.norconex.crawler.core with type arguments of type CrawlerConfigModifier and TypeMethodDescriptionCrawlerCallbacks.CrawlerCallbacksBuilder.afterSession(Consumer<CrawlerConfig> afterSession) Invoked after a crawl session has been destroyed and resources closed.CrawlerCallbacks.CrawlerCallbacksBuilder.beforeSession(Consumer<CrawlerConfig> beforeSession) Invoked before the crawl session gets initialized (which is also before any command gets executed).CrawlerDriver.Builder.crawlerConfigClass(Class<? extends CrawlerConfig> crawlerConfigClass) Constructors in com.norconex.crawler.core with parameters of type CrawlerConfig -
Uses of CrawlerConfig in com.norconex.crawler.core.cmd.stop
Constructors in com.norconex.crawler.core.cmd.stop with parameters of type CrawlerConfig -
Uses of CrawlerConfig in com.norconex.crawler.core.context
Methods in com.norconex.crawler.core.context that return CrawlerConfigModifier and TypeMethodDescriptionCrawlerContextFactory.Builder.config()CrawlerContext.getCrawlConfig()Methods in com.norconex.crawler.core.context with parameters of type CrawlerConfigModifier and TypeMethodDescriptionCrawlerContextFactory.Builder.config(CrawlerConfig config) CrawlerContext.Builder.crawlConfig(CrawlerConfig crawlConfig) -
Uses of CrawlerConfig in com.norconex.crawler.core.session
Methods in com.norconex.crawler.core.session with parameters of type CrawlerConfigModifier and TypeMethodDescriptionstatic CrawlerSessionCrawlerSessionFactory.create(CrawlerDriver crawlDriver, CrawlerConfig crawlConfig) -
Uses of CrawlerConfig in com.norconex.crawler.core.util
Methods in com.norconex.crawler.core.util with parameters of type CrawlerConfigModifier and TypeMethodDescriptionstatic StringAbout.about(CrawlerConfig config) static voidLogUtil.logCommandIntro(@NonNull Logger logger, @NonNull CrawlerConfig crawlConfig) static PathConfigUtil.resolveTempDir(CrawlerConfig config) static PathConfigUtil.resolveWorkDir(@NonNull CrawlerConfig config) -
Uses of CrawlerConfig in com.norconex.crawler.fs
Methods in com.norconex.crawler.fs with parameters of type CrawlerConfig -
Uses of CrawlerConfig in com.norconex.crawler.web
Subclasses of CrawlerConfig in com.norconex.crawler.webModifier and TypeClassDescriptionclassWeb Crawler configuration, adding more options to the baseCrawlerConfig.