Description

some ways to serialize "query": {

"filtered": {
  "query": {
    "query_string": {
      "default_operator": "OR",
      "default_field": "_all",
      "query": " actor:\"bob\"  AND type:\"EventType\""
    }
  },
  "filter": {
    "range": {
      "@timestamp": {
        "from": "2012-12-29T16:52:48+00:00",
        "to": "2012-12-29T17:52:48+00:00"
      }
    }
  }
}

},

"query" : {

"term" : { "user" : "kimchy" }

}

"query" : {

"match_all" : {}

},

QueryDsl is referenced in 1 repository

github.com/mattbaird/elastigo