added examples to the Groovy search API