Skip to content

Instantly share code, notes, and snippets.

@tfuji
Created September 10, 2020 17:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tfuji/81eade08f50116b04fb8bc9f0501952f to your computer and use it in GitHub Desktop.
Save tfuji/81eade08f50116b04fb8bc9f0501952f to your computer and use it in GitHub Desktop.
{
"query": {
"bool": {
"must_not": {
"exists": {
"field": "group"
}
}
}
},
"post_filter": {
"nested": {
"path": "hostTaxonomy",
"query": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.value": "Citrullus lanatus"
}
}
]
}
}
}
},
"aggs": {
"type2": {
"filter": {
"nested": {
"path": "hostTaxonomy",
"query": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.value": "Citrullus lanatus"
}
}
]
}
}
}
},
"aggs": {
"_index": {
"terms": {
"field": "_index",
"size": 50
}
},
"_index_count": {
"cardinality": {
"field": "_index"
}
}
}
},
"hasAnalysis3": {
"filter": {
"nested": {
"path": "hostTaxonomy",
"query": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.value": "Citrullus lanatus"
}
}
]
}
}
}
},
"aggs": {
"hasAnalysis": {
"terms": {
"field": "hasAnalysis",
"size": 50
}
},
"hasAnalysis_count": {
"cardinality": {
"field": "hasAnalysis"
}
}
}
},
"MEO_component": {
"filter": {
"nested": {
"path": "hostTaxonomy",
"query": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.value": "Citrullus lanatus"
}
}
]
}
}
}
},
"aggs": {
"children": {
"nested": {
"path": "MEO_component"
},
"aggs": {
"lvl0": {
"filter": {
"term": {
"MEO_component.level": 1
}
},
"aggs": {
"children": {
"terms": {
"field": "MEO_component.value",
"size": 2147483647
}
}
}
}
}
}
}
},
"MEO_env": {
"filter": {
"nested": {
"path": "hostTaxonomy",
"query": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.value": "Citrullus lanatus"
}
}
]
}
}
}
},
"aggs": {
"children": {
"nested": {
"path": "MEO_env"
},
"aggs": {
"lvl0": {
"filter": {
"term": {
"MEO_env.level": 1
}
},
"aggs": {
"children": {
"terms": {
"field": "MEO_env.value",
"size": 2147483647
}
}
}
}
}
}
}
},
"taxonomy": {
"filter": {
"nested": {
"path": "hostTaxonomy",
"query": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.value": "Citrullus lanatus"
}
}
]
}
}
}
},
"aggs": {
"children": {
"nested": {
"path": "taxonomy"
},
"aggs": {
"lvl0": {
"filter": {
"term": {
"taxonomy.level": 1
}
},
"aggs": {
"children": {
"terms": {
"field": "taxonomy.value",
"size": 2147483647
}
}
}
}
}
}
}
},
"hostTaxonomy": {
"filter": {
"match_all": {}
},
"aggs": {
"children": {
"nested": {
"path": "hostTaxonomy"
},
"aggs": {
"lvl0": {
"filter": {
"term": {
"hostTaxonomy.level": 1
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl1": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 2
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl2": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 3
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl3": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 4
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl4": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 5
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl5": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 6
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl6": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 7
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl7": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 8
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl8": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 9
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl9": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 10
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl10": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 11
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl11": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 12
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl12": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 13
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl13": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 14
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl14": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 15
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl15": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 16
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl16": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 17
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl17": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 18
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl18": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 19
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl19": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 20
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl20": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 21
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl21": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 22
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
},
"lvl22": {
"filter": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.level": 23
}
},
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus lanatus"
}
}
]
}
},
"aggs": {
"children": {
"terms": {
"field": "hostTaxonomy.value",
"size": 2147483647
}
}
}
}
}
}
}
},
"ph14": {
"filter": {
"bool": {
"must": [
{
"nested": {
"path": "hostTaxonomy",
"query": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.value": "Citrullus lanatus"
}
}
]
}
}
}
},
{
"range": {
"PH": {
"gte": 0,
"lte": 14
}
}
}
]
}
},
"aggs": {
"ph": {
"histogram": {
"field": "PH",
"interval": 1,
"min_doc_count": 0,
"extended_bounds": {
"min": 0,
"max": 14
}
}
}
}
},
"temperature15": {
"filter": {
"bool": {
"must": [
{
"nested": {
"path": "hostTaxonomy",
"query": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.value": "Citrullus lanatus"
}
}
]
}
}
}
},
{
"range": {
"EnvTemperature": {
"gte": -100,
"lte": 150
}
}
}
]
}
},
"aggs": {
"temperature": {
"histogram": {
"field": "EnvTemperature",
"interval": 13,
"min_doc_count": 0,
"extended_bounds": {
"min": -100,
"max": 150
}
}
}
}
},
"HMADO": {
"filter": {
"nested": {
"path": "hostTaxonomy",
"query": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.value": "Citrullus lanatus"
}
}
]
}
}
}
},
"aggs": {
"children": {
"nested": {
"path": "HMADO"
},
"aggs": {
"lvl0": {
"filter": {
"term": {
"HMADO.level": 1
}
},
"aggs": {
"children": {
"terms": {
"field": "HMADO.value",
"size": 2147483647
}
}
}
}
}
}
}
},
"hostAge19": {
"filter": {
"bool": {
"must": [
{
"nested": {
"path": "hostTaxonomy",
"query": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.value": "Citrullus lanatus"
}
}
]
}
}
}
},
{
"range": {
"HostAge": {
"gte": 0,
"lte": 40000
}
}
}
]
}
},
"aggs": {
"hostAge": {
"histogram": {
"field": "HostAge",
"interval": 2000,
"min_doc_count": 0,
"extended_bounds": {
"min": 0,
"max": 40000
}
}
}
}
},
"hostBmi20": {
"filter": {
"bool": {
"must": [
{
"nested": {
"path": "hostTaxonomy",
"query": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.value": "Citrullus lanatus"
}
}
]
}
}
}
},
{
"range": {
"HostBMI": {
"gte": 0,
"lte": 100
}
}
}
]
}
},
"aggs": {
"hostBmi": {
"histogram": {
"field": "HostBMI",
"interval": 5,
"min_doc_count": 0,
"extended_bounds": {
"min": 0,
"max": 100
}
}
}
}
},
"antibioticRegimen21": {
"filter": {
"nested": {
"path": "hostTaxonomy",
"query": {
"bool": {
"must": [
{
"term": {
"hostTaxonomy.ancestors": "root"
}
},
{
"term": {
"hostTaxonomy.ancestors": "cellular organisms"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Eukaryota"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Viridiplantae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Streptophytina"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Embryophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Tracheophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Euphyllophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Spermatophyta"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Magnoliopsida"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Mesangiospermae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "eudicotyledons"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Gunneridae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Pentapetalae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "rosids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "fabids"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitales"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Cucurbitaceae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Benincaseae"
}
},
{
"term": {
"hostTaxonomy.ancestors": "Citrullus"
}
},
{
"term": {
"hostTaxonomy.value": "Citrullus lanatus"
}
}
]
}
}
}
},
"aggs": {
"AntibioticRegimen": {
"terms": {
"field": "AntibioticRegimen",
"size": 50
}
},
"AntibioticRegimen_count": {
"cardinality": {
"field": "AntibioticRegimen"
}
}
}
}
},
"size": 100
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment