com.sksamuel.elastic4s.searches
(Since version 5.0.0) use to[T] which uses a Reader[T] typeclass
(Since version 2.1.2) use .java
(Since version 2.1.2) use sourceAsByteRef