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 Multi-image Discovery with PostgreSQL for an example. |
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:
|
Configuring Corteza Discovery Server
Setup the following env variables:
ES_ADDRESS=your-open-search-url
ES_USERNAME=your-open-search-username
ES_PASSWORD=your-open-search-password
ES_SECURE=false
ES_INDEX_INTERVAL=60
CORTEZA_SERVER_BASE_URL=your-corteza-server-url
CORTEZA_SERVER_AUTH_URL=your-corteza-server-url/auth
DISCOVERY_INDEXER_ENABLED=true
DISCOVERY_SEARCHER_ENABLED=true
DISCOVERY_INDEXER_PRIVATE_INDEX_CLIENT_KEY=private-index-client-key
DISCOVERY_INDEXER_PRIVATE_INDEX_CLIENT_SECRET=private-index-client-secret
DISCOVERY_INDEXER_PROTECTED_INDEX_CLIENT_KEY=protected-index-client-key
DISCOVERY_INDEXER_PROTECTED_INDEX_CLIENT_SECRET=protected-index-client-secret
DISCOVERY_INDEXER_PUBLIC_INDEX_CLIENT_KEY=public-index-client-key
DISCOVERY_INDEXER_PUBLIC_INDEX_CLIENT_SECRET=public-index-client-secret
DISCOVERY_SEARCHER_CLIENT_KEY=your-searcher-client-key
DISCOVERY_SEARCHER_CLIENT_SECRET=your-searcher-client-secret