You are reading the documentation for an outdated Corteza release. 2022.9 is the latest stable Corteza release.

Corteza Discovery

Corteza Discovery provides a powerful search engine to interact with your data. Corteza Discovery defines an intuitive interface to search and, in some cases, visualizes the data such as geographical metadata.

Refer to the Low-Code Platform Developer Guide  Corteza Discovery to learn how to configure and use Corteza Discovery.

Configuring Corteza Server

To enable Corteza Discovery, access the Docker container and run the following commands:

Enable Corteza Discovery for Low Code namespaces:
corteza-server settings set discovery.compose-namespaces.enabled true
Enable Corteza Discovery for Low Code modules:
corteza-server settings set discovery.compose-modules.enabled true
Enable Corteza Discovery for Low Code records:
corteza-server settings set discovery.compose-records.enabled true
Enable Corteza Discovery for users:
corteza-server settings set discovery.system-users.enabled true
Next, set the following .env variables for your Corteza server:
DISCOVERY_ENABLED=true
DISCOVERY_BASE_URL=your-discovery-server-base-url
# Optional variable for debugging
# DISCOVERY_DEBUG=true

For an example of an online deployment, refer to Multi-image Discovery with PostgreSQL.

To access the Docker container, run the following command:

docker-compose exec server bash