elasticsearch aws code example
Example 1: what is query dsl in aws elasticsearch
{ "exists" : { "field" : "title" }}
Example 2: what is query dsl in aws elasticsearch
{ "filtered": { "query": { "match": { "body": "Probability Theory" }}, "filter": { "bool": { "must": { "range": { "upvotes" : { "gt" : 20 } } }, "must_not": { "term": { "tag": "frequentist" } } } } }}