Simple query DSL with Scalastic

Hi everyone,

I'm starting with Scalastic but I didn't figure out how can I use the query
DSL.

Could you please tell me what I'm doing wrong with this code ? (assuming
that indexer.search() works fine) :
import org.elasticsearch._
import scalastic.elasticsearch._
object main extends App {
val indexer = Indexer.transport(Map("cluster.name" -> "elasticsearch"))
val response = indexer.search(query = boolQuery.must(termQuery(
"user.screen_name", "xxxx")))
println(response)
}
*
*

I got this error :
scala: not found: value boolQuery
Error occurred in an application involving default arguments.
val response = indexer.search(query = boolQuery.must(termQuery(
"user.screen_name", "xxxx")))
*
*
*
*
Thanks in advance for your precious help!

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.