Skip to main content
  • Latest version: v2.1.0
  • Compatible with Fusion version: 5.2.0 and later
Connector flow GCS connector can index:
  • CSV
  • JSON
  • PDF
  • Word docs
  • Other rich text formats

Features

  1. Service account authentication
  2. Full crawl of storage buckets and objects
  3. Recrawl buckets and objects
  4. Remove deleted objects
  5. Update objects
  6. Cascade deletion of objects in deleted buckets
  7. Document parsing support
  8. Bucket and object filtering

Prerequisites

Perform these prerequisites to ensure the connector can reliably access, crawl, and index your data. Proper setup helps avoid configuration or permission errors, so use the following guidelines to keep your content available for discovery and search in Fusion.
  • Set up a Google Cloud project with access to the target GCS bucket.
    • Enable the Google Cloud Storage API.
  • Create a service account with appropriate permissions:
    • The minimum permissions are storage.objects.list and storage.objects.get.
    • For bucket metadata access, also add the permission storage.buckets.get.
  • Download a JSON key file for that service account to use in the connector authentication properties in Fusion.
Confirm network connectivity:
  • Fusion must have outbound internet access to reach https://storage.googleapis.com.
  • If you are using a proxy or VPC, make sure traffic to GCS is permitted.
Remote-connector setup if running as an on-prem process:
  • A Fusion user with the remote-connectors or admin role for gRPC authentication.
  • The connector-plugin-standalone.jar alongside the plugin ZIP on the remote host.
  • A configured connector backend gRPC endpoint (hostname:port) in your YAML.
  • If the remote host doesn’t trust Fusion’s TLS cert, point to a truststore file path in your config.

Authentication

Setting up the correct authentication according to your organization’s data governance policies helps keep sensitive data secure while allowing authorized indexing. The connector uses Google Cloud service account credentials to access buckets through JSON key authentication. The service account must have storage.objects.list and storage.objects.get permissions and the full JSON key content must be copied and pasted into the service account JSON key box. You can restrict the service account from accessing content you don’t want indexed using IAM roles or signed URLs. Create a service account in Google Cloud and authenticate the GCS V2 Connector:
  1. Go to the Google Cloud Console and navigate to IAM & Admin > Service Accounts.
  2. Click Create Service Account.
    1. Give the service account a name such as fusion-gcs-crawler.
    2. Grant the service account roles/storage.objectViewer or use custom roles with storage.objects.list and storage.objects.get.
  3. Click Create Key and choose JSON. Download the JSON key file to paste the key’s value in Fusion under Authentication Settings.
  4. Verify access and bucket permissions to ensure:
    • The service account has access to the buckets and objects you’re trying to crawl.
    • The service account is authorized in the GCS project to access the buckets.

Crawl specific buckets

If the account used has limited permissions, or to only crawl specific buckets, use the Specify buckets to crawl setting. Add the name of the buckets you would like to crawl to download bucket objects and metadata only for those buckets.

Recrawl

The GCS V2 connector updates the Solr index with any content changes since the previous crawl for items added, updated, or deleted.

Remote connectors

V2 connectors support running remotely in Fusion versions 5.7.1 and later. For more information, see Configure remote V2 connectors. Below is an example configuration showing how to specify the file system to index under the connector-plugins entry in your values.yaml file:
You may also need to specify the user that is authorized to access the file system, as in this example:

Configuration