Created
August 2, 2017 08:15
-
-
Save ramr/d831da01957b446186935a520db86e3c to your computer and use it in GitHub Desktop.
update elastic search index info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -XGET 'localhost:9200/meteor_namespace/resourceTypes/CHEBI_10?pretty' | |
{ | |
"_index" : "meteor_namespace", | |
"_type" : "resourceTypes", | |
"_id" : "CHEBI_10", | |
"_version" : 3, | |
"found" : true, | |
"_source" : { | |
"additional_properties" : { | |
"alkaloid_id" : { | |
"name" : "alkaloid", | |
"value" : 1.1, | |
"_id" : "alkaloid_id" | |
}, | |
"metabolite_id" : { | |
"name" : "metabolite", | |
"value" : 1.0, | |
"_id" : "metabolite_id" | |
} | |
}, | |
"source" : "CHEBI", | |
"synonyms" : [ "(+)-Atherospermoline", "XGEAUXVPBXUBKN-NSOVKSMOSA-N", "C36H38N2O6" ], | |
"name" : "(+)-Atherospermoline", | |
"definition" : "An isoquinoline that has formula C36H38N2O6." | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment