Arranger
Arranger generates the search API and UI components on top of your search engine and Maestro-indexed metadata.
If you have not yet deployed Maestro, return to Maestro.
Set SEARCH_ENGINE=opensearch and point ES_HOST at your OpenSearch node (for example http://opensearch:9200). The ES_HOST, ES_USER, and ES_PASS variables apply to both engines; the credentials are ignored when the OpenSearch security plugin is disabled. Leaving SEARCH_ENGINE unset makes Arranger auto-detect the engine from the cluster.
Running Arranger
-
Create an env file: Create a file named
.env.arrangerwith the following content:# ==============================# Arranger Environment Variables# ==============================# Arranger VariablesENABLE_LOGS=false# Directory holding the per-catalogue config files (mounted below)CONFIGS_PATH=/configs# Elasticsearch / OpenSearch VariablesES_HOST=http://elasticsearch:9200ES_USER=elasticES_PASS=myelasticpasswordSEARCH_ENGINE=elasticsearch -
Create a folder titled
arrangerConfigsand place the following configuration files within it:- The base.json, containing the base configuration for the Arranger server
- The extended.json, containing all possible fields inputted into arranger
- The facets.json, defines the facets found within the facet panel of the data exploration page in Stage
- The table.json, defines the formatting of the tables found on the data exploration page in Stage
-
Run Arranger: Use the docker run command with your
.env.arrangerfile:docker run --env-file .env.arranger \--name arranger-server \-p 5050:5050 \-v ./arrangerConfigs:/configs \ghcr.io/overture-stack/arranger-search-server:3.1.0-rc.2Make sure to confirm the
./arrangerConfigs/path aligns with the actual paths to your Arranger-Server configuration files, update your command or folder structure accordingly.Click here for a detailed breakdown
When creating the .env.arranger file:
-
ES_HOSTis the URL of your Elasticsearch instance. -
ES_USERandES_PASSare the credentials for accessing Elasticsearch. -
SEARCH_ENGINEselects the search backend, eitherelasticsearchoropensearch. -
CONFIGS_PATHis the directory inside the container that holds the per-catalogue config files (matched by the volume mount below).
When running Arranger:
-
-p 5050:5050maps port 5050 of the host to port 5050 of the container. -
-v ./arrangerConfigs:/configsmounts the config directory into the container (matched byCONFIGS_PATH).base.jsoncontains the base configuration for the Arranger serverextended.jsoncontains all possible fields inputted into arrangerfacets.jsondefines the facets found within the facet panel of the data exploration page in Stagetable.jsondefines the formatting of the tables found on the data exploration page in Stage
Configuring ArrangerIf you want to learn more about configuring Arranger see our administration guide on customizing the search portal.
-
After Arranger is running, continue with Stage to deploy the portal UI.