Now that installation is complete, we must configure and supply an index mapping to Elasticsearch.
The default installation comes with a sample index that can be used to demonstrate and understand how Arranger uses the ES mapping.
However, most users will wish to configure and supply their own index mapping, which is also possible.
The default index mapping, called file_centric_1.0
, is a sample mapping used for cancer genomics, which represents genomic file metadata that can be searched in the data portal. In Arranger, the sample mapping is configured in the index_config.json
file. The sample mapping can be examined here.
To use the default mapping, run the ES initialization script:
make init-es
Alternatively, to configure and supply your own mapping:
index_config.json
file in the proper format. Again, use the existing sample file as a guide. The index_config.json
file can be found in the arranger/docker/elasticsearch
directory.NOTE: You can rename the alias, but it may be simpler to leave it as file_centric_1.0
for ease-of-use. This is because, if you change the alias, you will need to modify the make init-es
script, load-es-data.sh
to reference your alias name instead.
make init-es