elastic search add code example
Example: add where clause in elasticsearch
{
"size": 100, //default 10
"from": 0, //default 0
"query":
{
"match_all": {}
},
"filter" : {
"term" : {
"activated" : "true"
}
}
}