aws elasticsearch code example
Example 1: what is query dsl in aws elasticsearch
{ "multi_match": { "query": "probability theory", "fields": ["title", "body"] }}
Example 2: what is query dsl in aws elasticsearch
Elasticsearch Term Query : { "term": { "tag": "math" }}{ "terms": { "tag": ["math", "statistics"] }}
Example 3: what is query dsl in aws elasticsearch
{ "missing" : { "field" : "title" }}
Example 4: 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" } } } } }}