(Since version 5.0.0) this usage leads to subtle bugs, please use boolQuery().must(...).should(...).not(...)
(Since version 5.0.0) string type is deprecated in ES 5, use text or keyword types
(Since version 5.0.0) use field(name, type)
(Since version 5.2.0) use geoPolygonQuery
(Since version 5.2.0) use matchQuery(field, value) instead of the tupled version
(Since version 5.0.0) use highlightOptions()
(Since version 5.0.0) use highlight(name)
(Since version 5.0.0) string type is deprecated in ES 5, use text or keyword types
use index / type not index -> type