cloudcalvin
11/10/2014 - 8:19 AM

gistfile1.txt

trait elastic4s {

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