To set up CTERA Content Services to provide advanced search in the CTERA Portal from version 8.4.x, the following requirements are necessary:
- CTERA Content Services is installed on a VM that is reachable from the portal over HTTPS.
- The storage used by the portal must be a storage node with Direct Mode enabled. That is, either an S3 compatible storage node or Microsoft Azure Blob Storage.
Configuring Content Services
To add the portal as a source:
- Select Sources in the navigation pane.

- Click New Source.

- Enter the source details:
Name – A name to identify the source.
Type – Keep the default CTERA.
Host – The URL to access the portal. - Change the Authentication Method to Basic Auth.

- Enter the team read/write administrator credentials including the Access Key ID and Secret Key.
Note
If you are using a global administrator, including API keys for the global administrator, you need to slide Tenant Auth off.
- Make sure the source status is
Enabledand click Save Changes. - Select Datasets in the navigation pane.

- Select Collectors in the navigation pane.

- Click New Collector.

- Enter the following details in the General tab:
Name – A name to identify the collector.
URI – The URI to access the collector.
Default Collector – Slide on to make this collector the default collector.
Collector Status – Select whether you want the status to beEnabledorDisabled - Click Connect in the URI field to connect to the collector and retrieve file type mappings.

- For each file type, select the Reader if you don't want the default.
- Click Save Changes.
- Click New Dataset.

- Enter the dataset details:
Name – A name to identify the dataset.
Source – Select the portal source from the list.
Capabilities – Slide Enable Text Search on.
Collector – The type of collector to use.
Selected Content – The cloud drive folders to include, described in the next step.
Collectors – The users who can collaborate on the dataset. - The selected content section is dependent on the source. For example, when the source is a CTERA Portal, the content includes cloud drive folders that belong to a specific owner or without any owner.
- Click
to add a folder.

- Click Users to expand the users and then select a user and from the list of cloud folders, select a folder.
The folder content is displayed.

- Click Add Folder
- Click
- Enter the schema details and then the indexing actions required.
- Click Save Changes.
The content needs to be ingested into content services.
Configuring the Portal
The portal team read/write administrator needs to generate API keys which are used by Content Services, described in Creating Access Key IDs and Secret Access Keys.
The following commands must be run on the portal:
set /settings/enterpriseSearchSettings/baseUrl https://<content_services_URL>
For example, https://api.<url_to_access_content_services>
set /settings/enterpriseSearchSettings/clientId <client_id_in_content_services>
set /settings/enterpriseSearchSettings/jwtSecret <jwt_secret_from_content_services>
The client Id and jwtSecret are the values provided to Content Services when the portal was set as the source, as described in Configuring Content Services.
set /settings/enterpriseSearchSettings/enabled true
set /settings/enterpriseSearchSettings/trustAllCertificates true
You can verify the settings are correct by executing the following command:
show /settings/enterpriseSearchSettings