For my Grails App i use Searchable Plugin to have an nice "google-like" Search.
I followed instructions and added:
class Address {
static searchable =true
Integer id
AddressGroups addressType
String briefDescription
String company
}
It really works fine. The Problem here is that the Searchbar in my App is searching through all Classes.
I know it is a simple Problem. But i found no Documentation for that issue. I just want to search one domain class at time. Not all classes.
More Information: Additionally i got an User Class and an AddressGroups Class. As you can see Addressgroups provides addressType for Address.