0.0.1 • Published 2 years ago

chembl-elasticsearch-service v0.0.1

Weekly downloads
-
License
Apache-2.0
Repository
gitlab
Last release
2 years ago

ChEMBL Elasticsearch Service

This package can be used in web applications to load data from the ChEMBL's elasticsearch. For example, if you want to load the following data:

GET chembl_molecule/_search
{
  "_source": "_id",
  "query": {
    "bool": {
      "filter": [
        {
          "terms": {
            "_metadata.compound_records.src_id": [
              55,
              54
            ]
          }
        },
        {
          "terms": {
            "_metadata.unichem.src_name": [
              "PDBe"
            ]
          }
        }
      ]
    }
  }
}