we are using grails 2.1.1 and grails searchable-plugin 0.6.4.
We want to search a domain with belongsTo association using searchable.
Suppose we have a domain
class A {
static belongsTo= [b:B]
}
Now To Access A with b instance we will write criteria as
A.createCriteria.list{
eq('b',B.get(1))
}
Now how to write similar query with searchable Query Builder.