trait elastic4s { def get: Future[SearchResponse] = { val client = ElasticClient.remote("127.0.0.1", 9300) client execute { search in "ads"->"categories" } } }