Skip to main content

Reference

Every configurable component, generated from the crawler's own configuration schema. Each group opens with the interface a component plugs into, followed by the implementations you can name in its class.

Crawlerโ€‹

CanonicalLinkDetectorโ€‹

Identifies the possible canonical URL of a document. Non-canonical documents are rejected in favor of canonical ones. See CanonicalLinkDetector for the shared configuration.

ClusterConnectorโ€‹

Supported implementations for Cluster Connector. See ClusterConnector for the shared configuration.

DelayResolverโ€‹

Supported implementations for Delay Resolver. See DelayResolver for the shared configuration.

DocumentChecksummerโ€‹

Supported implementations for Document Checksummer. See DocumentChecksummer for the shared configuration.

DocumentConsumerโ€‹

Supported implementations for Document Consumer. See DocumentConsumer for the shared configuration.

DocumentFilterโ€‹

Supported implementations for Document Filter. See DocumentFilter for the shared configuration.

Fetcherโ€‹

Supported implementations for Fetcher. See Fetcher for the shared configuration.

  • AdlsGen2Fetcher: Azure Data Lake Storage Gen2 fetcher (abfs:// and abfss://).
  • ArchiveFetcher: Fetches documents contained within archive files (ZIP, TAR, etc.).
  • AzureBlobFetcher: Azure Blob Storage fetcher (azblob:// and azureblob://).
  • BoxFetcher: Box fetcher (box://) for filesystem-like traversal and content download through Box APIs.
  • CmisFetcher: CMIS-enabled Content Management Systems (CMS) fetcher (Atom).
  • EgnyteFetcher: Egnyte fetcher (egnyte://) for filesystem-like traversal and content download through Egnyte APIs.
  • FtpFetcher: File Transfer Protocol (FTP and FTPS) fetcher.
  • GcsFetcher: Google Cloud Storage fetcher (gs://).
  • HdfsFetcher: Apache Hadoop File System (HDFS) fetcher.
  • HttpClientFetcher: Fetches web documents using an HTTP client with authentication and SSL support.
  • LocalFetcher: Local file system fetcher.
  • M365GraphFetcher: Microsoft 365 Graph fetcher for SharePoint Online and OneDrive for Business.
  • PlaywrightFetcher: Uses Microsoft Playwright for browser-based crawling, driving real browser engines (Chromium, Firefox, WebKit) across Windows, macOS, and Linux. Unlike WebDriverFetcher, no exte...
  • S3Fetcher: Amazon S3 fetcher (s3://).
  • SftpFetcher: Secure File Transfer Protocol (SFTP) fetcher.
  • SmbFetcher: Server Message Block (SMB, CIFS, Samba, Windows share) fetcher.
  • WebDavFetcher: Web Distributed Authoring and Versioning (WebDAV) fetcher.
  • WebDriverFetcher: Fetches dynamically generated web pages using a WebDriver-based browser.

HazelcastConfigurerโ€‹

Supported implementations for Hazelcast Configurer. See HazelcastConfigurer for the shared configuration.

LinkExtractorโ€‹

Supported implementations for Link Extractor. See LinkExtractor for the shared configuration.

MetadataChecksummerโ€‹

Supported implementations for Metadata Checksummer. See MetadataChecksummer for the shared configuration.

RecrawlableResolverโ€‹

Supported implementations for Recrawlable Resolver. See RecrawlableResolver for the shared configuration.

RedirectUrlProviderโ€‹

Resolves the target URL from HTTP redirect responses. See RedirectUrlProvider for the shared configuration.

RobotsMetaProviderโ€‹

Supported implementations for Robots Meta Provider. See RobotsMetaProvider for the shared configuration.

RobotsTxtProviderโ€‹

Supported implementations for Robots Txt Provider. See RobotsTxtProvider for the shared configuration.

SitemapLocatorโ€‹

Supported implementations for Sitemap Locator. See SitemapLocator for the shared configuration.

SitemapResolverโ€‹

Supported implementations for Sitemap Resolver. See SitemapResolver for the shared configuration.

SpoiledReferenceStrategizerโ€‹

Supported implementations for Spoiled Reference Strategizer. See SpoiledReferenceStrategizer for the shared configuration.

UrlScopeResolverโ€‹

Supported implementations for Url Scope Resolver. See UrlScopeResolver for the shared configuration.

WebUrlNormalizerโ€‹

Supported implementations for Web Url Normalizer. See WebUrlNormalizer for the shared configuration.

Other typesโ€‹

Enumerationsโ€‹

  • CookieSpec: Supported cookie specification policies for HTTP cookie handling.
  • DelayResolverScope: Controls the scope at which crawl delays are applied.
  • DirStructure: Defines the directory structure convention used for on-disk storage.
  • HdfsAuthMethod: Allowed values for Hdfs Auth Method.
  • HttpMethod: Supported HTTP methods for fetching documents.
  • NativeDocumentFormatPolicy: Allowed values for Native Document Format Policy.
  • Normalization: Supported URL normalization operations.
  • OnMatch: Action to take when a filter or condition matches.
  • OnMultiple: Action to take when multiple values are found for a field operation.
  • PlaywrightBrowser: Supported browser engines for Playwright-based fetching.
  • Quality: Supported image quality levels for document image processing.
  • SitemapSupport: Controls how sitemap files are used during a crawl.
  • SourceDeltaExpansion: Allowed values for Source Delta Expansion.
  • SpoiledReferenceStrategy: Supported strategies for handling references that can no longer be fetched.
  • Storage: Supported storage backend types for the crawler data store.
  • StorageDiskStructure: Supported on-disk directory structure layouts for the storage engine.
  • Target: Specifies the target destination for a field operation or extraction.
  • WaitElementType: Supported element wait condition types for WebDriver-based fetching.
  • WebDriverBrowser: Supported browser types for WebDriver-based fetching.

Importerโ€‹

  • ImporterConfig: Configures the document importing pipeline with handlers for parsing, transforming, and filtering documents.

Conditionโ€‹

Supported implementations for Condition. See Condition for the shared configuration.

  • AllOf: A compound condition that is true only when all child conditions are true.
  • AnyOf: A compound condition that is true when any one child condition is true.
  • BlankCondition: Evaluates to true when matching document fields are blank or empty.
  • DateCondition: Evaluates to true when a document date field falls within a specified date range.
  • DomCondition: Evaluates to true when a CSS selector matches an element in an HTML or XML document.
  • NoneOf: A compound condition that is true only when none of its child conditions are true.
  • NumericCondition: Evaluates to true when a document field value satisfies a numeric comparison.
  • ReferenceCondition: Evaluates to true when a document's reference matches a configured text expression.
  • ScriptCondition: Evaluates a custom script that returns true or false for flow control decisions.
  • TextCondition: Evaluates to true when document text content or field values match a configured expression.

DocHandlerโ€‹

Supported implementations for Doc Handler. See DocHandler for the shared configuration.

Other typesโ€‹

  • Constant: A name-value constant entry added to documents by ConstantTransformer.
  • CopyOperation: A single field copy operation specifying source fields and a target field.
  • Crop: Cropping dimensions (x, y, width, height) for an image transformation.
  • DateValueMatcher: A date value with a comparison operator used as a date range boundary.
  • DomOperation: A single DOM extraction or deletion operation for the DomTransformer.
  • EmbeddedConfig: Controls how embedded documents within containers are handled during parsing.
  • GrobidConfig: Configuration for GROBID structured extraction from scientific documents.
  • HierarchyOperation: A single hierarchy expansion operation for the HierarchyTransformer.
  • ImporterResponseProcessor: A custom processor that modifies or acts on the importer response after all handlers have run.
  • MergeOperation: A single merge operation combining matching source fields into a target field.
  • NumericValueMatcher: A numeric value with a comparison operator used as a numeric range boundary.
  • OcrConfig: Configuration for Tesseract OCR text extraction from images and image-containing documents.
  • RenameOperation: A single field rename operation mapping source field names to a new name.
  • ReplaceOperation: A single value replacement operation for the ReplaceTransformer.
  • Scale: Image scaling parameters (width, height, factor, stretch) for an image transformation.
  • SentimentConfig: Configuration for Tika sentiment analysis of document content.
  • SplitOperation: A single value split operation for the SplitTransformer.
  • StripBetweenOperation: A start/end delimiter pair defining a text region to strip.
  • TextBetweenOperation: A start/end delimiter pair defining a text region to extract and store.

Committersโ€‹

Committerโ€‹

Supported implementations for Committer. See Committer for the shared configuration.

CommitterQueueโ€‹

Supported implementations for Committer Queue. See CommitterQueue for the shared configuration.

  • FsQueue: A local file system queue for storing committer requests as zip files.

Other typesโ€‹

  • AclInheritanceMapping: Declares which document field holds the parent item reference used for Google Cloud Search ACL inheritance.
  • AclMapping: Maps a document field to a Google Cloud Search ACL principal.
  • CsvColumn: A CSV file column.
  • MetadataMapping: Maps a document field to one of Google Cloud Search's standard item metadata fields.
  • OnCommitFailure: Controls retry and error handling behavior when a committer fails.
  • StructuredDataMapping: Declares the Google Cloud Search value type to use for a document field sent as structured data.

Enumerationsโ€‹

  • CsvFormat: Predefined CSV format presets for common applications and standards.
  • LogLevel: Supported logging severity levels.
  • RequestMode: Allowed values for Request Mode.
  • SolrClientType: Supported Solr client connection types.
  • UploadFormat: Allowed values for Upload Format.

Shared Typesโ€‹

Other typesโ€‹

  • ContentType: A MIME content type used for filtering and restricting handler applicability.
  • Credentials: User credentials with an optionally encrypted password. To be encrypted, there needs to be an encryption key. Without one, the password is assumed not to be encrypted.
  • EncryptionKey: Passwords can be encrypted using the EncryptionUtil Java class, or the command-line "encrypt.bat" or "encrypt.sh" scripts if those are available to you. In order for the passwor...
  • EventListener: Listens for and responds to crawler lifecycle events.
  • Host: A host name and port configuration used for proxy or connection settings.
  • Properties: A collection of key-value metadata properties for a document.
  • PropertyMatcher: Match one or more document metadata field names and/or values.
  • PropertyMatchers: A collection of property matchers for evaluating document metadata.
  • ProxySettings: Proxy server connection settings including host, credentials, and scheme.
  • Regex: A regular expression pattern with optional matching flags.
  • RegexFieldValueExtractor: Extracts field names and values from text using a regular expression with capture groups.
  • TextMatcher: A configurable class offering a few different ways to perform text matching and replacing. Note the replaceAll property is only applicable where replacement is supported.

Enumerationsโ€‹

  • PropertySetter: Supported strategies for setting a metadata field value.