Create a cluster & API Key at elastic.co. Don’t create any indexes! Those will get created via the steps below!
Get the snowstorm.jar from the snowstorm releases page
Download the SNOMED data set
Run snowstorm locally locally via
java -Xms2g -Xmx4g -jar snowstorm-10.4.2.jar \\
'--elasticsearch.urls=$ELASTICSEARCH_URL' \\
'--elasticsearch.api-key=$ELASTICSEARCH_APIKEY'
Navigate to http://localhost:8080
Make a POST request to create an import of type SNAPSHOT
. This isn’t the default value!
Grab the location field
Start an archive job with the .zip file from SNOMED. This will take awhile - do this on a wired connection if possible!
curl -X POST \\
--header 'Content-Type: multipart/form-data' \\
--header 'Accept: application/json' \\
-F file=@SnomedCT_ManagedServiceUS_PRODUCTION_US1000124_20240901T120000Z.zip \\
'[<http://localhost:8080/imports/6076dd99-4d70-43a4-9110-ed7b9a55568f/archive>](<http://localhost:8080/imports/6076dd99-4d70-43a4-9110-ed7b9a55568f/archive>)'
Watch the concepts get saved in batches