Public Repository

Last pushed: 10 days ago
Short Description
NCI Thesaurus Indexed on ElasticSearch ( [CORS Enabled]
Full Description

NCI Thesaurus Pull from

Run Command: docker run -p 9200:9200 -e "" -e "" axothacaelus/ts-db-byu

This spins it up on localhost:9200

Default user/pass (elastic, elasticpassword)

Index: "treatment"
NCI Mapping:
"name" -> treatment name with all non-alphanumeric characters replaced with '_'
"doc": -> JSON doc of the thesaurus record: code, concept_name, parent_code, synonyms, definition, display_name, concept_status, semantic_type

Sample search doing a fuzzy query with the max edit distance [2] on the phrase cancer_antigen_72_4_measurement:

*note: it will "pretty print" the results. To print normally, remove ?pretty from the url

curl -X POST -u elastic:elasticpassword -d '{"query":{"fuzzy": {"name":{"value":"cancer_antigen_72_4_measurement","boost":1.0,"fuzziness":2,"prefix_length":0,"max_expansions":50}}}}' http://localhost:9200/treatment/nci/_search\?pretty

The License will expire in 1 year. Just go to this site (, register for a new license, and update as follows (from

curl -XPUT -u elastic:elasticpassword 'http://<host>:<port>/_xpack/license' -H "Content-Type: application/json" -d @license.json

Docker Pull Command

Comments (0)