I have some question about searchable plugin :
i have two domain :
class Ads {
static searchable = true
String fromCity
String toCity
User user
static constraints = {
}
}
class User {
String username
String password
}
And i have developed my own search page with two field (fromCity,toCity) . to have something like :
def listResults = searchableService.search("NewYork","Miami")
So I would like to know how I can give to my search method this to Criteria Field.
def srchResults = searchableService.search(??????)
I'll be so grateful if someone can help me to do this.